#2ab1b1
a dark, vivid cyan · cool · closest name: teal
RGB
42, 177, 177
HSL
180°, 62%, 43%
CMYK
76, 0, 0, 31
Luminance
0.3511
Every format
| HEX | #2ab1b1 |
| RGB | rgb(42, 177, 177) |
| HSL | hsl(180, 62%, 43%) |
| CMYK | cmyk(76%, 0%, 0%, 31%) |
| LAB | lab(65.8 -34.0 -10.1) |
| LCH | lch(65.8 35.5 196.6) |
| OKLCH | oklch(0.693 0.110 194.9) |
Copy-ready code
/* CSS */
color: #2ab1b1;
background-color: #2ab1b1;
/* Tailwind (arbitrary) */
class="text-[#2ab1b1] bg-[#2ab1b1]"
/* SCSS */
$brand: #2ab1b1;
/* SwiftUI */
Color(red: 0.165, green: 0.694, blue: 0.694)
/* Android */
Color.parseColor("#2ab1b1")Accessibility — WCAG contrast
Aa
#2ab1b1 on white: 2.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2ab1b1 on black: 8.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.5%
Green69.4%
Blue69.4%
CMYK percentages
Cyan76.3%
Magenta0.0%
Yellow0.0%
Key (black)30.6%
Color previews
#2ab1b1 text on a black background
contrast 8.02:1
Card sample
#2ab1b1 text on a white background
contrast 2.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2ab1b1;
Background color
Panel with #2ab1b1 background
background-color: #2ab1b1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2ab1b1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(42, 177, 177, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 177, 177, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ab1b1; background: linear-gradient(135deg, #2ab1b1, #2A57B1);