#2C1D86#2C1D86
#2C1D86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.163 H 279.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1D86 |
|---|---|
| RGB | rgb(44, 29, 134) |
| HSL | hsl(249, 64%, 32%) |
| HSV | hsv(249, 78%, 53%) |
| CMYK | cmyk(67.2%, 78.4%, 0%, 47.5%) |
| CIE-LAB | lab(20.58, 38.96, -55.79) |
| CIE-LCH | lch(20.58, 68.05, 304.93°) |
| OKLab | oklab(33.25% 0.0261 -0.1611) |
| OKLCH | oklch(33.25% 0.163 279.2) |
| XYZ | xyz(5.7798, 3.1350, 22.8502) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.22
Midnight Blue
#191970
ΔE00 4.08
Indigo (survey)
#380282
ΔE00 4.65
Darkblue
#00008B
ΔE00 5.44
Cobalt Blue
#030AA7
ΔE00 5.60
Navy
#000080
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1D86 #77861D
analogous
#1D4386 #2C1D86 #601D86
triadic
#2C1D86 #862C1D #1D862C
tetradic
#2C1D86 #861D43 #77861D #1D8660
square
#2C1D86 #861D43 #77861D #1D8660
split-complementary
#2C1D86 #86601D #43861D
monochromatic
#0B0721 #1B1254 #2C1D86 #3D28B8 #5B46D7
Accessibility & contrast
On white
12.91
#2C1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2C1D86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1D86
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1D86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1D86 | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c1d86; /* rgb */ color: rgb(44, 29, 134); /* oklch */ color: oklch(33.2% 0.163 279.2);
Tailwind
colors: {
custom: {
50: '#735caa',
500: '#2c1d86',
950: '#000000',
},
}SCSS
$custom: #2c1d86; $custom-light: #735caa; $custom-dark: #000000;
JSON
{
"hex": "#2c1d86",
"rgb": {
"r": 44,
"g": 29,
"b": 134
},
"hsl": {
"h": 248.571,
"s": 64.417,
"l": 31.961
},
"oklch": {
"l": 0.33247,
"c": 0.1632,
"h": 279.2
},
"luminance": 0.03135
}Semantic roles & 50–950 ramp
primary
#2C1D86
secondary
#A8B946
accent
#E740D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F