#082ac4
a dark, electric blue · warm · closest name: navy
RGB
8, 42, 196
HSL
229°, 92%, 40%
CMYK
96, 79, 0, 23
Luminance
0.0569
Every format
| HEX | #082ac4 |
| RGB | rgb(8, 42, 196) |
| HSL | hsl(229, 92%, 40%) |
| CMYK | cmyk(96%, 79%, 0%, 23%) |
| LAB | lab(28.6 50.5 -80.1) |
| LCH | lch(28.6 94.7 302.2) |
| OKLCH | oklch(0.406 0.233 264.8) |
Copy-ready code
/* CSS */
color: #082ac4;
background-color: #082ac4;
/* Tailwind (arbitrary) */
class="text-[#082ac4] bg-[#082ac4]"
/* SCSS */
$brand: #082ac4;
/* SwiftUI */
Color(red: 0.031, green: 0.165, blue: 0.769)
/* Android */
Color.parseColor("#082ac4")Accessibility — WCAG contrast
Aa
#082ac4 on white: 9.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#082ac4 on black: 2.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green16.5%
Blue76.9%
CMYK percentages
Cyan95.9%
Magenta78.6%
Yellow0.0%
Key (black)23.1%
Color previews
#082ac4 text on a black background
contrast 2.14:1
Card sample
#082ac4 text on a white background
contrast 9.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #082ac4;
Background color
Panel with #082ac4 background
background-color: #082ac4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #082ac4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 42, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 42, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #082ac4; background: linear-gradient(135deg, #082ac4, #6308C4);