Hex Color #9DACEF - Custom Color
Color Codes
HEX
#9DACEF
RGB
rgb(157, 172, 239)
HSL
hsl(229, 72%, 78%)
CMYK
cmyk(34%, 28%, 0%, 6%)
HSV
hsv(229, 34%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.19:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.58:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #9DACEF;
color: #9DACEF;
border-color: #9DACEF;
}
Tailwind CSS (with arbitrary values)
bg-[#9DACEF]
text-[#9DACEF]
border-[#9DACEF]
// Example usage:
<div className="bg-[#9DACEF]">