Hex Color #C8DAFC - Custom Color
Color Codes
HEX
#C8DAFC
RGB
rgb(200, 218, 252)
HSL
hsl(219, 90%, 89%)
CMYK
cmyk(21%, 13%, 0%, 1%)
HSV
hsv(219, 21%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.41:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.89:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #C8DAFC;
color: #C8DAFC;
border-color: #C8DAFC;
}
Tailwind CSS (with arbitrary values)
bg-[#C8DAFC]
text-[#C8DAFC]
border-[#C8DAFC]
// Example usage:
<div className="bg-[#C8DAFC]">