#2000cc
a dark, electric blue · warm · closest name: blue
RGB
32, 0, 204
HSL
249°, 100%, 40%
CMYK
84, 100, 0, 20
Luminance
0.0467
Every format
| HEX | #2000cc |
| RGB | rgb(32, 0, 204) |
| HSL | hsl(249, 100%, 40%) |
| CMYK | cmyk(84%, 100%, 0%, 20%) |
| LAB | lab(25.8 67.2 -89.6) |
| LCH | lch(25.8 112.0 306.9) |
| OKLCH | oklch(0.391 0.259 268.9) |
Copy-ready code
/* CSS */
color: #2000cc;
background-color: #2000cc;
/* Tailwind (arbitrary) */
class="text-[#2000cc] bg-[#2000cc]"
/* SCSS */
$brand: #2000cc;
/* SwiftUI */
Color(red: 0.125, green: 0.000, blue: 0.800)
/* Android */
Color.parseColor("#2000cc")Accessibility — WCAG contrast
Aa
#2000cc on white: 10.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2000cc on black: 1.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green0.0%
Blue80.0%
CMYK percentages
Cyan84.3%
Magenta100.0%
Yellow0.0%
Key (black)20.0%
Color previews
#2000cc text on a black background
contrast 1.93:1
Card sample
#2000cc text on a white background
contrast 10.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2000cc;
Background color
Panel with #2000cc background
background-color: #2000cc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2000cc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 0, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 0, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2000cc; background: linear-gradient(135deg, #2000cc, #A800CC);