#0f0f32
a deep, vivid blue · warm · closest name: black
RGB
15, 15, 50
HSL
240°, 54%, 13%
CMYK
70, 70, 0, 80
Luminance
0.0067
Every format
| HEX | #0f0f32 |
| RGB | rgb(15, 15, 50) |
| HSL | hsl(240, 54%, 13%) |
| CMYK | cmyk(70%, 70%, 0%, 80%) |
| LAB | lab(6.1 12.3 -23.0) |
| LCH | lch(6.1 26.1 298.1) |
| OKLCH | oklch(0.194 0.068 278.1) |
Copy-ready code
/* CSS */
color: #0f0f32;
background-color: #0f0f32;
/* Tailwind (arbitrary) */
class="text-[#0f0f32] bg-[#0f0f32]"
/* SCSS */
$brand: #0f0f32;
/* SwiftUI */
Color(red: 0.059, green: 0.059, blue: 0.196)
/* Android */
Color.parseColor("#0f0f32")Accessibility — WCAG contrast
Aa
#0f0f32 on white: 18.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f0f32 on black: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green5.9%
Blue19.6%
CMYK percentages
Cyan70.0%
Magenta70.0%
Yellow0.0%
Key (black)80.4%
Color previews
#0f0f32 text on a black background
contrast 1.13:1
Card sample
#0f0f32 text on a white background
contrast 18.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f0f32;
Background color
Panel with #0f0f32 background
background-color: #0f0f32;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f0f32;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 15, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 15, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f0f32; background: linear-gradient(135deg, #0f0f32, #260F32);