Hex Color #1D303E - Custom Color

Color Codes

HEX
#1D303E
RGB
rgb(29, 48, 62)
HSL
hsl(205, 36%, 18%)
CMYK
cmyk(53%, 23%, 0%, 76%)
HSV
hsv(205, 53%, 24%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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