#2C1C86#2C1C86
#2C1C86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.164 H 279.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C86 |
|---|---|
| RGB | rgb(44, 28, 134) |
| HSL | hsl(249, 65%, 32%) |
| HSV | hsv(249, 79%, 53%) |
| CMYK | cmyk(67.2%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.39, 39.50, -56.10) |
| CIE-LCH | lch(20.39, 68.61, 305.15°) |
| OKLab | oklab(33.12% 0.0267 -0.162) |
| OKLCH | oklch(33.12% 0.164 279.4) |
| XYZ | xyz(5.7557, 3.0867, 22.8421) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.15
Midnight Blue
#191970
ΔE00 4.09
Indigo (survey)
#380282
ΔE00 4.44
Darkblue
#00008B
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 5.49
Navy
#000080
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C86 #76861C
analogous
#1C4186 #2C1C86 #611C86
triadic
#2C1C86 #862C1C #1C862C
tetradic
#2C1C86 #861C41 #76861C #1C8661
square
#2C1C86 #861C41 #76861C #1C8661
split-complementary
#2C1C86 #86611C #41861C
monochromatic
#0B0721 #1B1153 #2C1C86 #3D27B9 #5B44D8
Accessibility & contrast
On white
12.98
#2C1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2C1C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C86
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C86 | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c1c86; /* rgb */ color: rgb(44, 28, 134); /* oklch */ color: oklch(33.1% 0.164 279.4);
Tailwind
colors: {
custom: {
50: '#735baa',
500: '#2c1c86',
950: '#000000',
},
}SCSS
$custom: #2c1c86; $custom-light: #735baa; $custom-dark: #000000;
JSON
{
"hex": "#2c1c86",
"rgb": {
"r": 44,
"g": 28,
"b": 134
},
"hsl": {
"h": 249.057,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.33115,
"c": 0.16417,
"h": 279.4
},
"luminance": 0.03087
}Semantic roles & 50–950 ramp
primary
#2C1C86
secondary
#A7B945
accent
#E83FCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F