Hex Color #8EA7FA - Custom Color

Color Codes

HEX
#8EA7FA
RGB
rgb(142, 167, 250)
HSL
hsl(226, 92%, 77%)
CMYK
cmyk(43%, 33%, 0%, 2%)
HSV
hsv(226, 43%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 9.06: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: #8EA7FA;
color: #8EA7FA;
border-color: #8EA7FA;
}

Tailwind CSS (with arbitrary values)

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