Hex Color #AFBCE7 - Custom Color
Color Codes
HEX
#AFBCE7
RGB
rgb(175, 188, 231)
HSL
hsl(226, 54%, 80%)
CMYK
cmyk(24%, 19%, 0%, 9%)
HSV
hsv(226, 24%, 91%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.88:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.17: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: #AFBCE7;
color: #AFBCE7;
border-color: #AFBCE7;
}
Tailwind CSS (with arbitrary values)
bg-[#AFBCE7]
text-[#AFBCE7]
border-[#AFBCE7]
// Example usage:
<div className="bg-[#AFBCE7]">