#31afbc
a balanced, vivid cyan · cool · closest name: teal
RGB
49, 175, 188
HSL
186°, 59%, 47%
CMYK
74, 7, 0, 26
Luminance
0.3494
Every format
| HEX | #31afbc |
| RGB | rgb(49, 175, 188) |
| HSL | hsl(186, 59%, 47%) |
| CMYK | cmyk(74%, 7%, 0%, 26%) |
| LAB | lab(65.7 -29.0 -16.4) |
| LCH | lch(65.7 33.3 209.5) |
| OKLCH | oklch(0.693 0.107 205.3) |
Copy-ready code
/* CSS */
color: #31afbc;
background-color: #31afbc;
/* Tailwind (arbitrary) */
class="text-[#31afbc] bg-[#31afbc]"
/* SCSS */
$brand: #31afbc;
/* SwiftUI */
Color(red: 0.192, green: 0.686, blue: 0.737)
/* Android */
Color.parseColor("#31afbc")Accessibility — WCAG contrast
Aa
#31afbc on white: 2.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#31afbc on black: 7.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.2%
Green68.6%
Blue73.7%
CMYK percentages
Cyan73.9%
Magenta6.9%
Yellow0.0%
Key (black)26.3%
Color previews
#31afbc text on a black background
contrast 7.99:1
Card sample
#31afbc text on a white background
contrast 2.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #31afbc;
Background color
Panel with #31afbc background
background-color: #31afbc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #31afbc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(49, 175, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 175, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31afbc; background: linear-gradient(135deg, #31afbc, #3152BC);