Hex Color #1204EC - Custom Color

Color Codes

HEX
#1204EC
RGB
rgb(18, 4, 236)
HSL
hsl(244, 97%, 47%)
CMYK
cmyk(92%, 98%, 0%, 7%)
HSV
hsv(244, 98%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.25:1
Fail - 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: #1204EC;
color: #1204EC;
border-color: #1204EC;
}

Tailwind CSS (with arbitrary values)

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