#18bafd
a balanced, electric cyan · cool · closest name: skyblue
RGB
24, 186, 253
HSL
198°, 98%, 54%
CMYK
91, 27, 0, 1
Luminance
0.4240
Every format
| HEX | #18bafd |
| RGB | rgb(24, 186, 253) |
| HSL | hsl(198, 98%, 54%) |
| CMYK | cmyk(91%, 27%, 0%, 1%) |
| LAB | lab(71.2 -15.0 -43.6) |
| LCH | lch(71.2 46.2 251.0) |
| OKLCH | oklch(0.744 0.152 234.2) |
Copy-ready code
/* CSS */
color: #18bafd;
background-color: #18bafd;
/* Tailwind (arbitrary) */
class="text-[#18bafd] bg-[#18bafd]"
/* SCSS */
$brand: #18bafd;
/* SwiftUI */
Color(red: 0.094, green: 0.729, blue: 0.992)
/* Android */
Color.parseColor("#18bafd")Accessibility — WCAG contrast
Aa
#18bafd on white: 2.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#18bafd on black: 9.48:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green72.9%
Blue99.2%
CMYK percentages
Cyan90.5%
Magenta26.5%
Yellow0.0%
Key (black)0.8%
Color previews
#18bafd text on a black background
contrast 9.48:1
Card sample
#18bafd text on a white background
contrast 2.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #18bafd;
Background color
Panel with #18bafd background
background-color: #18bafd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #18bafd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 186, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 186, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #18bafd; background: linear-gradient(135deg, #18bafd, #1821FD);