Hex Color #04457F - Custom Color

Color Codes

HEX
#04457F
RGB
rgb(4, 69, 127)
HSL
hsl(208, 94%, 26%)
CMYK
cmyk(97%, 46%, 0%, 50%)
HSV
hsv(208, 97%, 50%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.16: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: #04457F;
color: #04457F;
border-color: #04457F;
}

Tailwind CSS (with arbitrary values)

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