Hex Color #1E223A - Custom Color

Color Codes

HEX
#1E223A
RGB
rgb(30, 34, 58)
HSL
hsl(231, 32%, 17%)
CMYK
cmyk(48%, 41%, 0%, 77%)
HSV
hsv(231, 48%, 23%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.35: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: #1E223A;
color: #1E223A;
border-color: #1E223A;
}

Tailwind CSS (with arbitrary values)

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