#2011ad
a dark, electric blue · warm · closest name: navy
RGB
32, 17, 173
HSL
246°, 82%, 37%
CMYK
82, 90, 0, 32
Luminance
0.0373
Every format
| HEX | #2011ad |
| RGB | rgb(32, 17, 173) |
| HSL | hsl(246, 82%, 37%) |
| CMYK | cmyk(82%, 90%, 0%, 32%) |
| LAB | lab(22.7 55.2 -76.2) |
| LCH | lch(22.7 94.1 305.9) |
| OKLCH | oklch(0.359 0.220 270.7) |
Copy-ready code
/* CSS */
color: #2011ad;
background-color: #2011ad;
/* Tailwind (arbitrary) */
class="text-[#2011ad] bg-[#2011ad]"
/* SCSS */
$brand: #2011ad;
/* SwiftUI */
Color(red: 0.125, green: 0.067, blue: 0.678)
/* Android */
Color.parseColor("#2011ad")Accessibility — WCAG contrast
Aa
#2011ad on white: 12.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2011ad on black: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green6.7%
Blue67.8%
CMYK percentages
Cyan81.5%
Magenta90.2%
Yellow0.0%
Key (black)32.2%
Color previews
#2011ad text on a black background
contrast 1.75:1
Card sample
#2011ad text on a white background
contrast 12.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2011ad;
Background color
Panel with #2011ad background
background-color: #2011ad;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2011ad;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 17, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 17, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2011ad; background: linear-gradient(135deg, #2011ad, #8811AD);