Hex Color #28223E - Custom Color

Color Codes

HEX
#28223E
RGB
rgb(40, 34, 62)
HSL
hsl(253, 29%, 19%)
CMYK
cmyk(35%, 45%, 0%, 76%)
HSV
hsv(253, 45%, 24%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.39: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: #28223E;
color: #28223E;
border-color: #28223E;
}

Tailwind CSS (with arbitrary values)

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