#2016cd
a dark, electric blue · warm · closest name: blue
RGB
32, 22, 205
HSL
243°, 81%, 45%
CMYK
84, 89, 0, 20
Luminance
0.0529
Every format
| HEX | #2016cd |
| RGB | rgb(32, 22, 205) |
| HSL | hsl(243, 81%, 45%) |
| CMYK | cmyk(84%, 89%, 0%, 20%) |
| LAB | lab(27.5 62.5 -87.2) |
| LCH | lch(27.5 107.3 305.6) |
| OKLCH | oklch(0.403 0.252 268.7) |
Copy-ready code
/* CSS */
color: #2016cd;
background-color: #2016cd;
/* Tailwind (arbitrary) */
class="text-[#2016cd] bg-[#2016cd]"
/* SCSS */
$brand: #2016cd;
/* SwiftUI */
Color(red: 0.125, green: 0.086, blue: 0.804)
/* Android */
Color.parseColor("#2016cd")Accessibility — WCAG contrast
Aa
#2016cd on white: 10.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2016cd on black: 2.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green8.6%
Blue80.4%
CMYK percentages
Cyan84.4%
Magenta89.3%
Yellow0.0%
Key (black)19.6%
Color previews
#2016cd text on a black background
contrast 2.06:1
Card sample
#2016cd text on a white background
contrast 10.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2016cd;
Background color
Panel with #2016cd background
background-color: #2016cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2016cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 22, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 22, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2016cd; background: linear-gradient(135deg, #2016cd, #9A16CD);