Hex Color #D4DCEF - Custom Color
Color Codes
HEX
#D4DCEF
RGB
rgb(212, 220, 239)
HSL
hsl(222, 46%, 88%)
CMYK
cmyk(11%, 8%, 0%, 6%)
HSV
hsv(222, 11%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.37:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.28: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: #D4DCEF;
color: #D4DCEF;
border-color: #D4DCEF;
}
Tailwind CSS (with arbitrary values)
bg-[#D4DCEF]
text-[#D4DCEF]
border-[#D4DCEF]
// Example usage:
<div className="bg-[#D4DCEF]">