Hex Color #20152D - Custom Color
Color Codes
HEX
#20152D
RGB
rgb(32, 21, 45)
HSL
hsl(267, 36%, 13%)
CMYK
cmyk(29%, 53%, 0%, 82%)
HSV
hsv(267, 53%, 18%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 17.40:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.21: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: #20152D;
color: #20152D;
border-color: #20152D;
}
Tailwind CSS (with arbitrary values)
bg-[#20152D]
text-[#20152D]
border-[#20152D]
// Example usage:
<div className="bg-[#20152D]">