Hex Color #B9C7FF - Custom Color
Color Codes
HEX
#B9C7FF
RGB
rgb(185, 199, 255)
HSL
hsl(228, 100%, 86%)
CMYK
cmyk(27%, 22%, 0%, 0%)
HSV
hsv(228, 27%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.66:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.68: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: #B9C7FF;
color: #B9C7FF;
border-color: #B9C7FF;
}
Tailwind CSS (with arbitrary values)
bg-[#B9C7FF]
text-[#B9C7FF]
border-[#B9C7FF]
// Example usage:
<div className="bg-[#B9C7FF]">