#2012ce
a dark, electric blue · warm · closest name: blue
RGB
32, 18, 206
HSL
245°, 84%, 44%
CMYK
85, 91, 0, 19
Luminance
0.0520
Every format
| HEX | #2012ce |
| RGB | rgb(32, 18, 206) |
| HSL | hsl(245, 84%, 44%) |
| CMYK | cmyk(85%, 91%, 0%, 19%) |
| LAB | lab(27.3 63.9 -88.2) |
| LCH | lch(27.3 108.9 305.9) |
| OKLCH | oklch(0.402 0.255 268.7) |
Copy-ready code
/* CSS */
color: #2012ce;
background-color: #2012ce;
/* Tailwind (arbitrary) */
class="text-[#2012ce] bg-[#2012ce]"
/* SCSS */
$brand: #2012ce;
/* SwiftUI */
Color(red: 0.125, green: 0.071, blue: 0.808)
/* Android */
Color.parseColor("#2012ce")Accessibility — WCAG contrast
Aa
#2012ce on white: 10.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2012ce on black: 2.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green7.1%
Blue80.8%
CMYK percentages
Cyan84.5%
Magenta91.3%
Yellow0.0%
Key (black)19.2%
Color previews
#2012ce text on a black background
contrast 2.04:1
Card sample
#2012ce text on a white background
contrast 10.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2012ce;
Background color
Panel with #2012ce background
background-color: #2012ce;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2012ce;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 18, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 18, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2012ce; background: linear-gradient(135deg, #2012ce, #9D12CE);