Hex Color #1572EA - Custom Color

Color Codes

HEX
#1572EA
RGB
rgb(21, 114, 234)
HSL
hsl(214, 84%, 50%)
CMYK
cmyk(91%, 51%, 0%, 8%)
HSV
hsv(214, 91%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.63:1
Pass - WCAG AA (Normal Text)
Fail - 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: #1572EA;
color: #1572EA;
border-color: #1572EA;
}

Tailwind CSS (with arbitrary values)

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