#0f334d
a deep, vivid blue · cool · closest name: darkslategray
RGB
15, 51, 77
HSL
205°, 67%, 18%
CMYK
81, 34, 0, 70
Luminance
0.0301
Every format
| HEX | #0f334d |
| RGB | rgb(15, 51, 77) |
| HSL | hsl(205, 67%, 18%) |
| CMYK | cmyk(81%, 34%, 0%, 70%) |
| LAB | lab(20.1 -2.5 -19.6) |
| LCH | lch(20.1 19.8 262.7) |
| OKLCH | oklch(0.309 0.062 243.8) |
Copy-ready code
/* CSS */
color: #0f334d;
background-color: #0f334d;
/* Tailwind (arbitrary) */
class="text-[#0f334d] bg-[#0f334d]"
/* SCSS */
$brand: #0f334d;
/* SwiftUI */
Color(red: 0.059, green: 0.200, blue: 0.302)
/* Android */
Color.parseColor("#0f334d")Accessibility — WCAG contrast
Aa
#0f334d on white: 13.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f334d on black: 1.60:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green20.0%
Blue30.2%
CMYK percentages
Cyan80.5%
Magenta33.8%
Yellow0.0%
Key (black)69.8%
Color previews
#0f334d text on a black background
contrast 1.60:1
Card sample
#0f334d text on a white background
contrast 13.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f334d;
Background color
Panel with #0f334d background
background-color: #0f334d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f334d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 51, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 51, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f334d; background: linear-gradient(135deg, #0f334d, #140F4D);