Hex Color #12003F - Custom Color
Color Codes
HEX
#12003F
RGB
rgb(18, 0, 63)
HSL
hsl(257, 100%, 12%)
CMYK
cmyk(71%, 100%, 0%, 75%)
HSV
hsv(257, 100%, 25%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 19.13:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.10: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: #12003F;
color: #12003F;
border-color: #12003F;
}
Tailwind CSS (with arbitrary values)
bg-[#12003F]
text-[#12003F]
border-[#12003F]
// Example usage:
<div className="bg-[#12003F]">