#080c86
a dark, electric blue · warm · closest name: navy
RGB
8, 12, 134
HSL
238°, 89%, 28%
CMYK
94, 91, 0, 48
Luminance
0.0204
Every format
| HEX | #080c86 |
| RGB | rgb(8, 12, 134) |
| HSL | hsl(238, 89%, 28%) |
| CMYK | cmyk(94%, 91%, 0%, 48%) |
| LAB | lab(15.7 44.8 -64.0) |
| LCH | lch(15.7 78.1 305.0) |
| OKLCH | oklch(0.293 0.186 266.2) |
Copy-ready code
/* CSS */
color: #080c86;
background-color: #080c86;
/* Tailwind (arbitrary) */
class="text-[#080c86] bg-[#080c86]"
/* SCSS */
$brand: #080c86;
/* SwiftUI */
Color(red: 0.031, green: 0.047, blue: 0.525)
/* Android */
Color.parseColor("#080c86")Accessibility — WCAG contrast
Aa
#080c86 on white: 14.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080c86 on black: 1.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green4.7%
Blue52.5%
CMYK percentages
Cyan94.0%
Magenta91.0%
Yellow0.0%
Key (black)47.5%
Color previews
#080c86 text on a black background
contrast 1.41:1
Card sample
#080c86 text on a white background
contrast 14.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080c86;
Background color
Panel with #080c86 background
background-color: #080c86;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080c86;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 12, 134, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 12, 134, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080c86; background: linear-gradient(135deg, #080c86, #580886);