#0820af
a dark, electric blue · warm · closest name: navy
RGB
8, 32, 175
HSL
231°, 91%, 36%
CMYK
95, 82, 0, 31
Luminance
0.0418
Every format
| HEX | #0820af |
| RGB | rgb(8, 32, 175) |
| HSL | hsl(231, 91%, 36%) |
| CMYK | cmyk(95%, 82%, 0%, 31%) |
| LAB | lab(24.3 48.8 -74.9) |
| LCH | lch(24.3 89.4 303.1) |
| OKLCH | oklch(0.368 0.218 265.1) |
Copy-ready code
/* CSS */
color: #0820af;
background-color: #0820af;
/* Tailwind (arbitrary) */
class="text-[#0820af] bg-[#0820af]"
/* SCSS */
$brand: #0820af;
/* SwiftUI */
Color(red: 0.031, green: 0.125, blue: 0.686)
/* Android */
Color.parseColor("#0820af")Accessibility — WCAG contrast
Aa
#0820af on white: 11.44:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0820af on black: 1.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green12.5%
Blue68.6%
CMYK percentages
Cyan95.4%
Magenta81.7%
Yellow0.0%
Key (black)31.4%
Color previews
#0820af text on a black background
contrast 1.84:1
Card sample
#0820af text on a white background
contrast 11.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0820af;
Background color
Panel with #0820af background
background-color: #0820af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0820af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 32, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 32, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0820af; background: linear-gradient(135deg, #0820af, #5F08AF);