Hex Color #DCECF5 - Custom Color
Color Codes
HEX
#DCECF5
RGB
rgb(220, 236, 245)
HSL
hsl(202, 56%, 91%)
CMYK
cmyk(10%, 4%, 0%, 4%)
HSV
hsv(202, 10%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.21:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.36: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: #DCECF5;
color: #DCECF5;
border-color: #DCECF5;
}
Tailwind CSS (with arbitrary values)
bg-[#DCECF5]
text-[#DCECF5]
border-[#DCECF5]
// Example usage:
<div className="bg-[#DCECF5]">