#2000b4
a dark, electric blue · warm · closest name: navy
RGB
32, 0, 180
HSL
251°, 100%, 35%
CMYK
82, 100, 0, 29
Luminance
0.0360
Every format
| HEX | #2000b4 |
| RGB | rgb(32, 0, 180) |
| HSL | hsl(251, 100%, 35%) |
| CMYK | cmyk(82%, 100%, 0%, 29%) |
| LAB | lab(22.3 61.4 -81.1) |
| LCH | lch(22.3 101.7 307.1) |
| OKLCH | oklch(0.359 0.234 270.4) |
Copy-ready code
/* CSS */
color: #2000b4;
background-color: #2000b4;
/* Tailwind (arbitrary) */
class="text-[#2000b4] bg-[#2000b4]"
/* SCSS */
$brand: #2000b4;
/* SwiftUI */
Color(red: 0.125, green: 0.000, blue: 0.706)
/* Android */
Color.parseColor("#2000b4")Accessibility — WCAG contrast
Aa
#2000b4 on white: 12.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2000b4 on black: 1.72:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green0.0%
Blue70.6%
CMYK percentages
Cyan82.2%
Magenta100.0%
Yellow0.0%
Key (black)29.4%
Color previews
#2000b4 text on a black background
contrast 1.72:1
Card sample
#2000b4 text on a white background
contrast 12.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2000b4;
Background color
Panel with #2000b4 background
background-color: #2000b4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2000b4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 0, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 0, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2000b4; background: linear-gradient(135deg, #2000b4, #9800B4);