#080fab
a dark, electric blue · warm · closest name: navy
RGB
8, 15, 171
HSL
237°, 91%, 35%
CMYK
95, 91, 0, 33
Luminance
0.0333
Every format
| HEX | #080fab |
| RGB | rgb(8, 15, 171) |
| HSL | hsl(237, 91%, 35%) |
| CMYK | cmyk(95%, 91%, 0%, 33%) |
| LAB | lab(21.3 54.7 -77.4) |
| LCH | lch(21.3 94.8 305.2) |
| OKLCH | oklch(0.346 0.225 265.4) |
Copy-ready code
/* CSS */
color: #080fab;
background-color: #080fab;
/* Tailwind (arbitrary) */
class="text-[#080fab] bg-[#080fab]"
/* SCSS */
$brand: #080fab;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.671)
/* Android */
Color.parseColor("#080fab")Accessibility — WCAG contrast
Aa
#080fab on white: 12.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080fab on black: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue67.1%
CMYK percentages
Cyan95.3%
Magenta91.2%
Yellow0.0%
Key (black)32.9%
Color previews
#080fab text on a black background
contrast 1.67:1
Card sample
#080fab text on a white background
contrast 12.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080fab;
Background color
Panel with #080fab background
background-color: #080fab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080fab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080fab; background: linear-gradient(135deg, #080fab, #6E08AB);