Hex Color #31413D - Custom Color
Color Codes
HEX
#31413D
RGB
rgb(49, 65, 61)
HSL
hsl(165, 14%, 22%)
CMYK
cmyk(25%, 0%, 6%, 75%)
HSV
hsv(165, 25%, 25%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 10.75:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.95: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: #31413D;
color: #31413D;
border-color: #31413D;
}
Tailwind CSS (with arbitrary values)
bg-[#31413D]
text-[#31413D]
border-[#31413D]
// Example usage:
<div className="bg-[#31413D]">