Hex Color #AFB4ED - Custom Color
Color Codes
HEX
#AFB4ED
RGB
rgb(175, 180, 237)
HSL
hsl(235, 63%, 81%)
CMYK
cmyk(26%, 24%, 0%, 7%)
HSV
hsv(235, 26%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.57: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: #AFB4ED;
color: #AFB4ED;
border-color: #AFB4ED;
}
Tailwind CSS (with arbitrary values)
bg-[#AFB4ED]
text-[#AFB4ED]
border-[#AFB4ED]
// Example usage:
<div className="bg-[#AFB4ED]">