#0f0f29
a deep, vivid blue · warm · closest name: black
RGB
15, 15, 41
HSL
240°, 46%, 11%
CMYK
63, 63, 0, 84
Luminance
0.0060
Every format
| HEX | #0f0f29 |
| RGB | rgb(15, 15, 41) |
| HSL | hsl(240, 46%, 11%) |
| CMYK | cmyk(63%, 63%, 0%, 84%) |
| LAB | lab(5.5 8.0 -17.3) |
| LCH | lch(5.5 19.0 294.8) |
| OKLCH | oklch(0.186 0.052 280.1) |
Copy-ready code
/* CSS */
color: #0f0f29;
background-color: #0f0f29;
/* Tailwind (arbitrary) */
class="text-[#0f0f29] bg-[#0f0f29]"
/* SCSS */
$brand: #0f0f29;
/* SwiftUI */
Color(red: 0.059, green: 0.059, blue: 0.161)
/* Android */
Color.parseColor("#0f0f29")Accessibility — WCAG contrast
Aa
#0f0f29 on white: 18.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f0f29 on black: 1.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green5.9%
Blue16.1%
CMYK percentages
Cyan63.4%
Magenta63.4%
Yellow0.0%
Key (black)83.9%
Color previews
#0f0f29 text on a black background
contrast 1.12:1
Card sample
#0f0f29 text on a white background
contrast 18.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f0f29;
Background color
Panel with #0f0f29 background
background-color: #0f0f29;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f0f29;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 15, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 15, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f0f29; background: linear-gradient(135deg, #0f0f29, #200F29);