Hex Color #788ACE - Custom Color
Color Codes
HEX
#788ACE
RGB
rgb(120, 138, 206)
HSL
hsl(227, 47%, 64%)
CMYK
cmyk(42%, 33%, 0%, 19%)
HSV
hsv(227, 42%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.33:1
Pass - 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: #788ACE;
color: #788ACE;
border-color: #788ACE;
}
Tailwind CSS (with arbitrary values)
bg-[#788ACE]
text-[#788ACE]
border-[#788ACE]
// Example usage:
<div className="bg-[#788ACE]">