#060027
a deep, electric blue · warm · closest name: black
RGB
6, 0, 39
HSL
249°, 100%, 8%
CMYK
85, 100, 0, 85
Luminance
0.0019
Every format
| HEX | #060027 |
| RGB | rgb(6, 0, 39) |
| HSL | hsl(249, 100%, 8%) |
| CMYK | cmyk(85%, 100%, 0%, 85%) |
| LAB | lab(1.7 10.9 -21.7) |
| LCH | lch(1.7 24.3 296.6) |
| OKLCH | oklch(0.133 0.081 279.8) |
Copy-ready code
/* CSS */
color: #060027;
background-color: #060027;
/* Tailwind (arbitrary) */
class="text-[#060027] bg-[#060027]"
/* SCSS */
$brand: #060027;
/* SwiftUI */
Color(red: 0.024, green: 0.000, blue: 0.153)
/* Android */
Color.parseColor("#060027")Accessibility — WCAG contrast
Aa
#060027 on white: 20.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#060027 on black: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.4%
Green0.0%
Blue15.3%
CMYK percentages
Cyan84.6%
Magenta100.0%
Yellow0.0%
Key (black)84.7%
Color previews
#060027 text on a black background
contrast 1.04:1
Card sample
#060027 text on a white background
contrast 20.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #060027;
Background color
Panel with #060027 background
background-color: #060027;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #060027;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(6, 0, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(6, 0, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #060027; background: linear-gradient(135deg, #060027, #200027);