#0f1933
a deep, vivid blue · cool · closest name: black
RGB
15, 25, 51
HSL
223°, 55%, 13%
CMYK
71, 51, 0, 80
Luminance
0.0104
Every format
| HEX | #0f1933 |
| RGB | rgb(15, 25, 51) |
| HSL | hsl(223, 55%, 13%) |
| CMYK | cmyk(71%, 51%, 0%, 80%) |
| LAB | lab(9.3 5.5 -18.6) |
| LCH | lch(9.3 19.4 286.6) |
| OKLCH | oklch(0.220 0.053 266.3) |
Copy-ready code
/* CSS */
color: #0f1933;
background-color: #0f1933;
/* Tailwind (arbitrary) */
class="text-[#0f1933] bg-[#0f1933]"
/* SCSS */
$brand: #0f1933;
/* SwiftUI */
Color(red: 0.059, green: 0.098, blue: 0.200)
/* Android */
Color.parseColor("#0f1933")Accessibility — WCAG contrast
Aa
#0f1933 on white: 17.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f1933 on black: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green9.8%
Blue20.0%
CMYK percentages
Cyan70.6%
Magenta51.0%
Yellow0.0%
Key (black)80.0%
Color previews
#0f1933 text on a black background
contrast 1.21:1
Card sample
#0f1933 text on a white background
contrast 17.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f1933;
Background color
Panel with #0f1933 background
background-color: #0f1933;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f1933;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 25, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 25, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f1933; background: linear-gradient(135deg, #0f1933, #1D0F33);