Hex Color #C8E1FA - Custom Color
Color Codes
HEX
#C8E1FA
RGB
rgb(200, 225, 250)
HSL
hsl(210, 83%, 88%)
CMYK
cmyk(20%, 10%, 0%, 2%)
HSV
hsv(210, 20%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.35:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.61: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: #C8E1FA;
color: #C8E1FA;
border-color: #C8E1FA;
}
Tailwind CSS (with arbitrary values)
bg-[#C8E1FA]
text-[#C8E1FA]
border-[#C8E1FA]
// Example usage:
<div className="bg-[#C8E1FA]">