Hex Color #04202E - Custom Color

Color Codes

HEX
#04202E
RGB
rgb(4, 32, 46)
HSL
hsl(200, 84%, 10%)
CMYK
cmyk(91%, 30%, 0%, 82%)
HSV
hsv(200, 91%, 18%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.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: #04202E;
color: #04202E;
border-color: #04202E;
}

Tailwind CSS (with arbitrary values)

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