#40c3fc
a balanced, electric cyan · cool · closest name: skyblue
RGB
64, 195, 252
HSL
198°, 97%, 62%
CMYK
75, 23, 0, 1
Luminance
0.4715
Every format
| HEX | #40c3fc |
| RGB | rgb(64, 195, 252) |
| HSL | hsl(198, 97%, 62%) |
| CMYK | cmyk(75%, 23%, 0%, 1%) |
| LAB | lab(74.3 -17.0 -38.2) |
| LCH | lch(74.3 41.8 246.0) |
| OKLCH | oklch(0.771 0.137 231.6) |
Copy-ready code
/* CSS */
color: #40c3fc;
background-color: #40c3fc;
/* Tailwind (arbitrary) */
class="text-[#40c3fc] bg-[#40c3fc]"
/* SCSS */
$brand: #40c3fc;
/* SwiftUI */
Color(red: 0.251, green: 0.765, blue: 0.988)
/* Android */
Color.parseColor("#40c3fc")Accessibility — WCAG contrast
Aa
#40c3fc on white: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#40c3fc on black: 10.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green76.5%
Blue98.8%
CMYK percentages
Cyan74.6%
Magenta22.6%
Yellow0.0%
Key (black)1.2%
Color previews
#40c3fc text on a black background
contrast 10.43:1
Card sample
#40c3fc text on a white background
contrast 2.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #40c3fc;
Background color
Panel with #40c3fc background
background-color: #40c3fc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #40c3fc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 195, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 195, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c3fc; background: linear-gradient(135deg, #40c3fc, #4046FC);