Hex Color #E8ECFC - Custom Color

Color Codes

HEX
#E8ECFC
RGB
rgb(232, 236, 252)
HSL
hsl(228, 77%, 95%)
CMYK
cmyk(8%, 6%, 0%, 1%)
HSV
hsv(228, 8%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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