#0facf0
a balanced, electric cyan · cool · closest name: steelblue
RGB
15, 172, 240
HSL
198°, 88%, 50%
CMYK
94, 28, 0, 6
Luminance
0.3590
Every format
| HEX | #0facf0 |
| RGB | rgb(15, 172, 240) |
| HSL | hsl(198, 88%, 50%) |
| CMYK | cmyk(94%, 28%, 0%, 6%) |
| LAB | lab(66.4 -12.4 -44.0) |
| LCH | lch(66.4 45.7 254.3) |
| OKLCH | oklch(0.705 0.150 236.3) |
Copy-ready code
/* CSS */
color: #0facf0;
background-color: #0facf0;
/* Tailwind (arbitrary) */
class="text-[#0facf0] bg-[#0facf0]"
/* SCSS */
$brand: #0facf0;
/* SwiftUI */
Color(red: 0.059, green: 0.675, blue: 0.941)
/* Android */
Color.parseColor("#0facf0")Accessibility — WCAG contrast
Aa
#0facf0 on white: 2.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0facf0 on black: 8.18:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green67.5%
Blue94.1%
CMYK percentages
Cyan93.8%
Magenta28.3%
Yellow0.0%
Key (black)5.9%
Color previews
#0facf0 text on a black background
contrast 8.18:1
Card sample
#0facf0 text on a white background
contrast 2.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0facf0;
Background color
Panel with #0facf0 background
background-color: #0facf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0facf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 172, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 172, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0facf0; background: linear-gradient(135deg, #0facf0, #0F16F0);