#1faff2
a balanced, electric cyan · cool · closest name: steelblue
RGB
31, 175, 242
HSL
199°, 89%, 54%
CMYK
87, 28, 0, 5
Luminance
0.3736
Every format
| HEX | #1faff2 |
| RGB | rgb(31, 175, 242) |
| HSL | hsl(199, 89%, 54%) |
| CMYK | cmyk(87%, 28%, 0%, 5%) |
| LAB | lab(67.5 -12.6 -43.3) |
| LCH | lch(67.5 45.1 253.8) |
| OKLCH | oklch(0.714 0.148 236.2) |
Copy-ready code
/* CSS */
color: #1faff2;
background-color: #1faff2;
/* Tailwind (arbitrary) */
class="text-[#1faff2] bg-[#1faff2]"
/* SCSS */
$brand: #1faff2;
/* SwiftUI */
Color(red: 0.122, green: 0.686, blue: 0.949)
/* Android */
Color.parseColor("#1faff2")Accessibility — WCAG contrast
Aa
#1faff2 on white: 2.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#1faff2 on black: 8.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.2%
Green68.6%
Blue94.9%
CMYK percentages
Cyan87.2%
Magenta27.7%
Yellow0.0%
Key (black)5.1%
Color previews
#1faff2 text on a black background
contrast 8.47:1
Card sample
#1faff2 text on a white background
contrast 2.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1faff2;
Background color
Panel with #1faff2 background
background-color: #1faff2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1faff2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(31, 175, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 175, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1faff2; background: linear-gradient(135deg, #1faff2, #1F22F2);