#080f82
a dark, electric blue · warm · closest name: navy
RGB
8, 15, 130
HSL
237°, 88%, 27%
CMYK
94, 89, 0, 49
Luminance
0.0200
Every format
| HEX | #080f82 |
| RGB | rgb(8, 15, 130) |
| HSL | hsl(237, 88%, 27%) |
| CMYK | cmyk(94%, 89%, 0%, 49%) |
| LAB | lab(15.5 42.3 -61.7) |
| LCH | lch(15.5 74.8 304.4) |
| OKLCH | oklch(0.290 0.179 266.3) |
Copy-ready code
/* CSS */
color: #080f82;
background-color: #080f82;
/* Tailwind (arbitrary) */
class="text-[#080f82] bg-[#080f82]"
/* SCSS */
$brand: #080f82;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.510)
/* Android */
Color.parseColor("#080f82")Accessibility — WCAG contrast
Aa
#080f82 on white: 14.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080f82 on black: 1.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue51.0%
CMYK percentages
Cyan93.8%
Magenta88.5%
Yellow0.0%
Key (black)49.0%
Color previews
#080f82 text on a black background
contrast 1.40:1
Card sample
#080f82 text on a white background
contrast 14.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080f82;
Background color
Panel with #080f82 background
background-color: #080f82;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080f82;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080f82; background: linear-gradient(135deg, #080f82, #530882);