Hex Color #CACDF2 - Custom Color
Color Codes
HEX
#CACDF2
RGB
rgb(202, 205, 242)
HSL
hsl(235, 61%, 87%)
CMYK
cmyk(17%, 15%, 0%, 5%)
HSV
hsv(235, 17%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.55:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.53: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: #CACDF2;
color: #CACDF2;
border-color: #CACDF2;
}
Tailwind CSS (with arbitrary values)
bg-[#CACDF2]
text-[#CACDF2]
border-[#CACDF2]
// Example usage:
<div className="bg-[#CACDF2]">