#080f87
a dark, electric blue · warm · closest name: navy
RGB
8, 15, 135
HSL
237°, 89%, 28%
CMYK
94, 89, 0, 47
Luminance
0.0214
Every format
| HEX | #080f87 |
| RGB | rgb(8, 15, 135) |
| HSL | hsl(237, 89%, 28%) |
| CMYK | cmyk(94%, 89%, 0%, 47%) |
| LAB | lab(16.2 43.9 -63.7) |
| LCH | lch(16.2 77.4 304.6) |
| OKLCH | oklch(0.297 0.185 266.1) |
Copy-ready code
/* CSS */
color: #080f87;
background-color: #080f87;
/* Tailwind (arbitrary) */
class="text-[#080f87] bg-[#080f87]"
/* SCSS */
$brand: #080f87;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.529)
/* Android */
Color.parseColor("#080f87")Accessibility — WCAG contrast
Aa
#080f87 on white: 14.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080f87 on black: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue52.9%
CMYK percentages
Cyan94.1%
Magenta88.9%
Yellow0.0%
Key (black)47.1%
Color previews
#080f87 text on a black background
contrast 1.43:1
Card sample
#080f87 text on a white background
contrast 14.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080f87;
Background color
Panel with #080f87 background
background-color: #080f87;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080f87;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 135, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 135, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080f87; background: linear-gradient(135deg, #080f87, #560887);