Hex Color #597390 - Custom Color
Color Codes
HEX
#597390
RGB
rgb(89, 115, 144)
HSL
hsl(212, 24%, 46%)
CMYK
cmyk(38%, 20%, 0%, 44%)
HSV
hsv(212, 38%, 56%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.91:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.28: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: #597390;
color: #597390;
border-color: #597390;
}
Tailwind CSS (with arbitrary values)
bg-[#597390]
text-[#597390]
border-[#597390]
// Example usage:
<div className="bg-[#597390]">