#31bafd
a balanced, electric cyan · cool · closest name: skyblue
RGB
49, 186, 253
HSL
200°, 98%, 59%
CMYK
81, 27, 0, 1
Luminance
0.4286
Every format
| HEX | #31bafd |
| RGB | rgb(49, 186, 253) |
| HSL | hsl(200, 98%, 59%) |
| CMYK | cmyk(81%, 27%, 0%, 1%) |
| LAB | lab(71.5 -13.4 -43.1) |
| LCH | lch(71.5 45.2 252.8) |
| OKLCH | oklch(0.748 0.147 235.9) |
Copy-ready code
/* CSS */
color: #31bafd;
background-color: #31bafd;
/* Tailwind (arbitrary) */
class="text-[#31bafd] bg-[#31bafd]"
/* SCSS */
$brand: #31bafd;
/* SwiftUI */
Color(red: 0.192, green: 0.729, blue: 0.992)
/* Android */
Color.parseColor("#31bafd")Accessibility — WCAG contrast
Aa
#31bafd on white: 2.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#31bafd on black: 9.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.2%
Green72.9%
Blue99.2%
CMYK percentages
Cyan80.6%
Magenta26.5%
Yellow0.0%
Key (black)0.8%
Color previews
#31bafd text on a black background
contrast 9.57:1
Card sample
#31bafd text on a white background
contrast 2.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #31bafd;
Background color
Panel with #31bafd background
background-color: #31bafd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #31bafd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(49, 186, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 186, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31bafd; background: linear-gradient(135deg, #31bafd, #3132FD);