#082ba4
a dark, electric blue · warm · closest name: navy
RGB
8, 43, 164
HSL
227°, 91%, 34%
CMYK
95, 74, 0, 36
Luminance
0.0446
Every format
| HEX | #082ba4 |
| RGB | rgb(8, 43, 164) |
| HSL | hsl(227, 91%, 34%) |
| CMYK | cmyk(95%, 74%, 0%, 36%) |
| LAB | lab(25.1 38.7 -66.8) |
| LCH | lch(25.1 77.2 300.1) |
| OKLCH | oklch(0.370 0.195 264.5) |
Copy-ready code
/* CSS */
color: #082ba4;
background-color: #082ba4;
/* Tailwind (arbitrary) */
class="text-[#082ba4] bg-[#082ba4]"
/* SCSS */
$brand: #082ba4;
/* SwiftUI */
Color(red: 0.031, green: 0.169, blue: 0.643)
/* Android */
Color.parseColor("#082ba4")Accessibility — WCAG contrast
Aa
#082ba4 on white: 11.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#082ba4 on black: 1.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green16.9%
Blue64.3%
CMYK percentages
Cyan95.1%
Magenta73.8%
Yellow0.0%
Key (black)35.7%
Color previews
#082ba4 text on a black background
contrast 1.89:1
Card sample
#082ba4 text on a white background
contrast 11.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #082ba4;
Background color
Panel with #082ba4 background
background-color: #082ba4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #082ba4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 43, 164, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 43, 164, 0.45);
Border & gradient
Gradient panel
border: 3px solid #082ba4; background: linear-gradient(135deg, #082ba4, #4D08A4);