#7faff2
a light, electric blue · cool · closest name: steelblue
RGB
127, 175, 242
HSL
215°, 82%, 72%
CMYK
48, 28, 0, 5
Luminance
0.4158
Every format
| HEX | #7faff2 |
| RGB | rgb(127, 175, 242) |
| HSL | hsl(215, 82%, 72%) |
| CMYK | cmyk(48%, 28%, 0%, 5%) |
| LAB | lab(70.6 1.8 -38.4) |
| LCH | lch(70.6 38.4 272.7) |
| OKLCH | oklch(0.747 0.110 256.8) |
Copy-ready code
/* CSS */
color: #7faff2;
background-color: #7faff2;
/* Tailwind (arbitrary) */
class="text-[#7faff2] bg-[#7faff2]"
/* SCSS */
$brand: #7faff2;
/* SwiftUI */
Color(red: 0.498, green: 0.686, blue: 0.949)
/* Android */
Color.parseColor("#7faff2")Accessibility — WCAG contrast
Aa
#7faff2 on white: 2.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#7faff2 on black: 9.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red49.8%
Green68.6%
Blue94.9%
CMYK percentages
Cyan47.5%
Magenta27.7%
Yellow0.0%
Key (black)5.1%
Color previews
#7faff2 text on a black background
contrast 9.32:1
Card sample
#7faff2 text on a white background
contrast 2.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7faff2;
Background color
Panel with #7faff2 background
background-color: #7faff2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7faff2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(127, 175, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 175, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7faff2; background: linear-gradient(135deg, #7faff2, #9C7FF2);