Hex Color #021001 - Custom Color
Color Codes
HEX
#021001
RGB
rgb(2, 16, 1)
HSL
hsl(116, 88%, 3%)
CMYK
cmyk(88%, 0%, 94%, 94%)
HSV
hsv(116, 94%, 6%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 19.50: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: #021001;
color: #021001;
border-color: #021001;
}
Tailwind CSS (with arbitrary values)
bg-[#021001]
text-[#021001]
border-[#021001]
// Example usage:
<div className="bg-[#021001]">