#0f5994
a dark, electric blue · cool · closest name: steelblue
RGB
15, 89, 148
HSL
207°, 82%, 32%
CMYK
90, 40, 0, 42
Luminance
0.0938
Every format
| HEX | #0f5994 |
| RGB | rgb(15, 89, 148) |
| HSL | hsl(207, 82%, 32%) |
| CMYK | cmyk(90%, 40%, 0%, 42%) |
| LAB | lab(36.7 1.6 -38.3) |
| LCH | lch(36.7 38.3 272.5) |
| OKLCH | oklch(0.454 0.117 249.0) |
Copy-ready code
/* CSS */
color: #0f5994;
background-color: #0f5994;
/* Tailwind (arbitrary) */
class="text-[#0f5994] bg-[#0f5994]"
/* SCSS */
$brand: #0f5994;
/* SwiftUI */
Color(red: 0.059, green: 0.349, blue: 0.580)
/* Android */
Color.parseColor("#0f5994")Accessibility — WCAG contrast
Aa
#0f5994 on white: 7.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f5994 on black: 2.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green34.9%
Blue58.0%
CMYK percentages
Cyan89.9%
Magenta39.9%
Yellow0.0%
Key (black)42.0%
Color previews
#0f5994 text on a black background
contrast 2.88:1
Card sample
#0f5994 text on a white background
contrast 7.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f5994;
Background color
Panel with #0f5994 background
background-color: #0f5994;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f5994;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 89, 148, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 89, 148, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f5994; background: linear-gradient(135deg, #0f5994, #1E0F94);