Hex Color #668DCE - Custom Color
Color Codes
HEX
#668DCE
RGB
rgb(102, 141, 206)
HSL
hsl(218, 51%, 60%)
CMYK
cmyk(50%, 32%, 0%, 19%)
HSV
hsv(218, 50%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.35:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.27: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: #668DCE;
color: #668DCE;
border-color: #668DCE;
}
Tailwind CSS (with arbitrary values)
bg-[#668DCE]
text-[#668DCE]
border-[#668DCE]
// Example usage:
<div className="bg-[#668DCE]">