#2af2f1
a balanced, electric cyan · cool · closest name: cyan
RGB
42, 242, 241
HSL
180°, 89%, 56%
CMYK
83, 0, 0, 5
Luminance
0.7035
Every format
| HEX | #2af2f1 |
| RGB | rgb(42, 242, 241) |
| HSL | hsl(180, 89%, 56%) |
| CMYK | cmyk(83%, 0%, 0%, 5%) |
| LAB | lab(87.2 -44.9 -12.7) |
| LCH | lch(87.2 46.7 195.8) |
| OKLCH | oklch(0.873 0.143 194.3) |
Copy-ready code
/* CSS */
color: #2af2f1;
background-color: #2af2f1;
/* Tailwind (arbitrary) */
class="text-[#2af2f1] bg-[#2af2f1]"
/* SCSS */
$brand: #2af2f1;
/* SwiftUI */
Color(red: 0.165, green: 0.949, blue: 0.945)
/* Android */
Color.parseColor("#2af2f1")Accessibility — WCAG contrast
Aa
#2af2f1 on white: 1.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2af2f1 on black: 15.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.5%
Green94.9%
Blue94.5%
CMYK percentages
Cyan82.6%
Magenta0.0%
Yellow0.4%
Key (black)5.1%
Color previews
#2af2f1 text on a black background
contrast 15.07:1
Card sample
#2af2f1 text on a white background
contrast 1.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2af2f1;
Background color
Panel with #2af2f1 background
background-color: #2af2f1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2af2f1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(42, 242, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 242, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2af2f1; background: linear-gradient(135deg, #2af2f1, #2A6EF2);