Hex Color #021009 - Custom Color
Color Codes
HEX
#021009
RGB
rgb(2, 16, 9)
HSL
hsl(150, 78%, 4%)
CMYK
cmyk(88%, 0%, 44%, 94%)
HSV
hsv(150, 88%, 6%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 19.43:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.08: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: #021009;
color: #021009;
border-color: #021009;
}
Tailwind CSS (with arbitrary values)
bg-[#021009]
text-[#021009]
border-[#021009]
// Example usage:
<div className="bg-[#021009]">