Hex Color #31D8DC - Custom Color
Color Codes
HEX
#31D8DC
RGB
rgb(49, 216, 220)
HSL
hsl(181, 71%, 53%)
CMYK
cmyk(78%, 2%, 0%, 14%)
HSV
hsv(181, 78%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.75:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.99:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #31D8DC;
color: #31D8DC;
border-color: #31D8DC;
}
Tailwind CSS (with arbitrary values)
bg-[#31D8DC]
text-[#31D8DC]
border-[#31D8DC]
// Example usage:
<div className="bg-[#31D8DC]">