Hex Color #54596B - Custom Color
Color Codes
HEX
#54596B
RGB
rgb(84, 89, 107)
HSL
hsl(227, 12%, 37%)
CMYK
cmyk(21%, 17%, 0%, 58%)
HSV
hsv(227, 21%, 42%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.96:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.02: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: #54596B;
color: #54596B;
border-color: #54596B;
}
Tailwind CSS (with arbitrary values)
bg-[#54596B]
text-[#54596B]
border-[#54596B]
// Example usage:
<div className="bg-[#54596B]">