#0ccafd
a balanced, electric cyan · cool · closest name: skyblue
RGB
12, 202, 253
HSL
193°, 98%, 52%
CMYK
95, 20, 0, 1
Luminance
0.4941
Every format
| HEX | #0ccafd |
| RGB | rgb(12, 202, 253) |
| HSL | hsl(193, 98%, 52%) |
| CMYK | cmyk(95%, 20%, 0%, 1%) |
| LAB | lab(75.7 -23.7 -36.5) |
| LCH | lch(75.7 43.6 237.0) |
| OKLCH | oklch(0.780 0.146 224.7) |
Copy-ready code
/* CSS */
color: #0ccafd;
background-color: #0ccafd;
/* Tailwind (arbitrary) */
class="text-[#0ccafd] bg-[#0ccafd]"
/* SCSS */
$brand: #0ccafd;
/* SwiftUI */
Color(red: 0.047, green: 0.792, blue: 0.992)
/* Android */
Color.parseColor("#0ccafd")Accessibility — WCAG contrast
Aa
#0ccafd on white: 1.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0ccafd on black: 10.88:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green79.2%
Blue99.2%
CMYK percentages
Cyan95.3%
Magenta20.2%
Yellow0.0%
Key (black)0.8%
Color previews
#0ccafd text on a black background
contrast 10.88:1
Card sample
#0ccafd text on a white background
contrast 1.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0ccafd;
Background color
Panel with #0ccafd background
background-color: #0ccafd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0ccafd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 202, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 202, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0ccafd; background: linear-gradient(135deg, #0ccafd, #0C29FD);