Hex Color #213548 - Custom Color

Color Codes

HEX
#213548
RGB
rgb(33, 53, 72)
HSL
hsl(209, 37%, 21%)
CMYK
cmyk(54%, 26%, 0%, 72%)
HSV
hsv(209, 54%, 28%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.67: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: #213548;
color: #213548;
border-color: #213548;
}

Tailwind CSS (with arbitrary values)

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