#080ab2
a dark, electric blue · warm · closest name: navy
RGB
8, 10, 178
HSL
239°, 91%, 37%
CMYK
96, 94, 0, 30
Luminance
0.0348
Every format
| HEX | #080ab2 |
| RGB | rgb(8, 10, 178) |
| HSL | hsl(239, 91%, 37%) |
| CMYK | cmyk(96%, 94%, 0%, 30%) |
| LAB | lab(21.9 58.0 -80.7) |
| LCH | lch(21.9 99.4 305.7) |
| OKLCH | oklch(0.352 0.234 265.3) |
Copy-ready code
/* CSS */
color: #080ab2;
background-color: #080ab2;
/* Tailwind (arbitrary) */
class="text-[#080ab2] bg-[#080ab2]"
/* SCSS */
$brand: #080ab2;
/* SwiftUI */
Color(red: 0.031, green: 0.039, blue: 0.698)
/* Android */
Color.parseColor("#080ab2")Accessibility — WCAG contrast
Aa
#080ab2 on white: 12.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080ab2 on black: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green3.9%
Blue69.8%
CMYK percentages
Cyan95.5%
Magenta94.4%
Yellow0.0%
Key (black)30.2%
Color previews
#080ab2 text on a black background
contrast 1.70:1
Card sample
#080ab2 text on a white background
contrast 12.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080ab2;
Background color
Panel with #080ab2 background
background-color: #080ab2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080ab2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 10, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 10, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080ab2; background: linear-gradient(135deg, #080ab2, #7708B2);