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