#0cecfd
a balanced, electric cyan · cool · closest name: cyan
RGB
12, 236, 253
HSL
184°, 98%, 52%
CMYK
95, 7, 0, 1
Luminance
0.6716
Every format
| HEX | #0cecfd |
| RGB | rgb(12, 236, 253) |
| HSL | hsl(184, 98%, 52%) |
| CMYK | cmyk(95%, 7%, 0%, 1%) |
| LAB | lab(85.6 -40.0 -21.4) |
| LCH | lch(85.6 45.4 208.1) |
| OKLCH | oklch(0.860 0.146 204.2) |
Copy-ready code
/* CSS */
color: #0cecfd;
background-color: #0cecfd;
/* Tailwind (arbitrary) */
class="text-[#0cecfd] bg-[#0cecfd]"
/* SCSS */
$brand: #0cecfd;
/* SwiftUI */
Color(red: 0.047, green: 0.925, blue: 0.992)
/* Android */
Color.parseColor("#0cecfd")Accessibility — WCAG contrast
Aa
#0cecfd on white: 1.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cecfd on black: 14.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green92.5%
Blue99.2%
CMYK percentages
Cyan95.3%
Magenta6.7%
Yellow0.0%
Key (black)0.8%
Color previews
#0cecfd text on a black background
contrast 14.43:1
Card sample
#0cecfd text on a white background
contrast 1.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cecfd;
Background color
Panel with #0cecfd background
background-color: #0cecfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cecfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 236, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 236, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cecfd; background: linear-gradient(135deg, #0cecfd, #0C4CFD);