Hex Color #596286 - Custom Color
Color Codes
HEX
#596286
RGB
rgb(89, 98, 134)
HSL
hsl(228, 20%, 44%)
CMYK
cmyk(34%, 27%, 0%, 47%)
HSV
hsv(228, 34%, 53%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.97:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.52:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #596286;
color: #596286;
border-color: #596286;
}
Tailwind CSS (with arbitrary values)
bg-[#596286]
text-[#596286]
border-[#596286]
// Example usage:
<div className="bg-[#596286]">