Hex Color #666DBE - Custom Color
Color Codes
HEX
#666DBE
RGB
rgb(102, 109, 190)
HSL
hsl(235, 40%, 57%)
CMYK
cmyk(46%, 43%, 0%, 25%)
HSV
hsv(235, 46%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.67:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.50: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: #666DBE;
color: #666DBE;
border-color: #666DBE;
}
Tailwind CSS (with arbitrary values)
bg-[#666DBE]
text-[#666DBE]
border-[#666DBE]
// Example usage:
<div className="bg-[#666DBE]">