Hex Color #56659C - Custom Color
Color Codes
HEX
#56659C
RGB
rgb(86, 101, 156)
HSL
hsl(227, 29%, 47%)
CMYK
cmyk(45%, 35%, 0%, 39%)
HSV
hsv(227, 45%, 61%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.62:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.74: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: #56659C;
color: #56659C;
border-color: #56659C;
}
Tailwind CSS (with arbitrary values)
bg-[#56659C]
text-[#56659C]
border-[#56659C]
// Example usage:
<div className="bg-[#56659C]">