#0c01cd
a dark, electric blue · warm · closest name: blue
RGB
12, 1, 205
HSL
243°, 99%, 40%
CMYK
94, 100, 0, 20
Luminance
0.0451
Every format
| HEX | #0c01cd |
| RGB | rgb(12, 1, 205) |
| HSL | hsl(243, 99%, 40%) |
| CMYK | cmyk(94%, 100%, 0%, 20%) |
| LAB | lab(25.3 67.0 -91.0) |
| LCH | lch(25.3 113.0 306.4) |
| OKLCH | oklch(0.386 0.264 265.3) |
Copy-ready code
/* CSS */
color: #0c01cd;
background-color: #0c01cd;
/* Tailwind (arbitrary) */
class="text-[#0c01cd] bg-[#0c01cd]"
/* SCSS */
$brand: #0c01cd;
/* SwiftUI */
Color(red: 0.047, green: 0.004, blue: 0.804)
/* Android */
Color.parseColor("#0c01cd")Accessibility — WCAG contrast
Aa
#0c01cd on white: 11.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c01cd on black: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green0.4%
Blue80.4%
CMYK percentages
Cyan94.1%
Magenta99.5%
Yellow0.0%
Key (black)19.6%
Color previews
#0c01cd text on a black background
contrast 1.90:1
Card sample
#0c01cd text on a white background
contrast 11.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c01cd;
Background color
Panel with #0c01cd background
background-color: #0c01cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c01cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 1, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 1, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c01cd; background: linear-gradient(135deg, #0c01cd, #9401CD);