#2C1E86#2C1E86
#2C1E86 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.162 H 279.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E86 |
|---|---|
| RGB | rgb(44, 30, 134) |
| HSL | hsl(248, 63%, 32%) |
| HSV | hsv(248, 78%, 53%) |
| CMYK | cmyk(67.2%, 77.6%, 0%, 47.5%) |
| CIE-LAB | lab(20.77, 38.41, -55.47) |
| CIE-LCH | lch(20.77, 67.47, 304.70°) |
| OKLab | oklab(33.38% 0.0255 -0.1602) |
| OKLCH | oklch(33.38% 0.162 279) |
| XYZ | xyz(5.8047, 3.1848, 22.8585) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.30
Midnight Blue
#191970
ΔE00 4.08
Indigo (survey)
#380282
ΔE00 4.87
Darkblue
#00008B
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 5.72
Navy
#000080
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E86 #78861E
analogous
#1E4486 #2C1E86 #601E86
triadic
#2C1E86 #862C1E #1E862C
tetradic
#2C1E86 #861E44 #78861E #1E8660
square
#2C1E86 #861E44 #78861E #1E8660
split-complementary
#2C1E86 #86601E #44861E
monochromatic
#0B0822 #1C1354 #2C1E86 #3C29B8 #5B48D6
Accessibility & contrast
On white
12.83
#2C1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2C1E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E86
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E86 | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c1e86; /* rgb */ color: rgb(44, 30, 134); /* oklch */ color: oklch(33.4% 0.162 279.0);
Tailwind
colors: {
custom: {
50: '#725caa',
500: '#2c1e86',
950: '#000000',
},
}SCSS
$custom: #2c1e86; $custom-light: #725caa; $custom-dark: #000000;
JSON
{
"hex": "#2c1e86",
"rgb": {
"r": 44,
"g": 30,
"b": 134
},
"hsl": {
"h": 248.077,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.33383,
"c": 0.16219,
"h": 279
},
"luminance": 0.03185
}Semantic roles & 50–950 ramp
primary
#2C1E86
secondary
#A9B847
accent
#E641D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F