Hex Color #B0B7FE - Custom Color

Color Codes

HEX
#B0B7FE
RGB
rgb(176, 183, 254)
HSL
hsl(235, 98%, 84%)
CMYK
cmyk(31%, 28%, 0%, 0%)
HSV
hsv(235, 31%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.90:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 11.05: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: #B0B7FE;
color: #B0B7FE;
border-color: #B0B7FE;
}

Tailwind CSS (with arbitrary values)

bg-[#B0B7FE]
text-[#B0B7FE]
border-[#B0B7FE]
// Example usage:
<div className="bg-[#B0B7FE]">