Hex Color #190828 - Custom Color

Color Codes

HEX
#190828
RGB
rgb(25, 8, 40)
HSL
hsl(272, 67%, 9%)
CMYK
cmyk(38%, 80%, 0%, 84%)
HSV
hsv(272, 80%, 16%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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