Hex Color #040304 - Custom Color
Color Codes
HEX
#040304
RGB
rgb(4, 3, 4)
HSL
hsl(300, 14%, 1%)
CMYK
cmyk(0%, 25%, 0%, 98%)
HSV
hsv(300, 25%, 2%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 20.59:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.02: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: #040304;
color: #040304;
border-color: #040304;
}
Tailwind CSS (with arbitrary values)
bg-[#040304]
text-[#040304]
border-[#040304]
// Example usage:
<div className="bg-[#040304]">