#3020af
a dark, vivid blue · warm · closest name: navy
RGB
48, 32, 175
HSL
247°, 69%, 41%
CMYK
73, 82, 0, 31
Luminance
0.0476
Every format
| HEX | #3020af |
| RGB | rgb(48, 32, 175) |
| HSL | hsl(247, 69%, 41%) |
| CMYK | cmyk(73%, 82%, 0%, 31%) |
| LAB | lab(26.0 50.6 -71.9) |
| LCH | lch(26.0 88.0 305.2) |
| OKLCH | oklch(0.385 0.209 275.3) |
Copy-ready code
/* CSS */
color: #3020af;
background-color: #3020af;
/* Tailwind (arbitrary) */
class="text-[#3020af] bg-[#3020af]"
/* SCSS */
$brand: #3020af;
/* SwiftUI */
Color(red: 0.188, green: 0.125, blue: 0.686)
/* Android */
Color.parseColor("#3020af")Accessibility — WCAG contrast
Aa
#3020af on white: 10.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3020af on black: 1.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green12.5%
Blue68.6%
CMYK percentages
Cyan72.6%
Magenta81.7%
Yellow0.0%
Key (black)31.4%
Color previews
#3020af text on a black background
contrast 1.95:1
Card sample
#3020af text on a white background
contrast 10.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3020af;
Background color
Panel with #3020af background
background-color: #3020af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3020af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 32, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 32, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3020af; background: linear-gradient(135deg, #3020af, #8F20AF);