#2D1C86#2D1C86
#2D1C86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.164 H 279.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1C86 |
|---|---|
| RGB | rgb(45, 28, 134) |
| HSL | hsl(250, 65%, 32%) |
| HSV | hsv(250, 79%, 53%) |
| CMYK | cmyk(66.4%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.48, 39.61, -55.95) |
| CIE-LCH | lch(20.48, 68.56, 305.30°) |
| OKLab | oklab(33.2% 0.0282 -0.1615) |
| OKLCH | oklch(33.2% 0.164 279.9) |
| XYZ | xyz(5.7991, 3.1092, 22.8442) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.25
Midnight Blue
#191970
ΔE00 4.17
Indigo (survey)
#380282
ΔE00 4.37
Darkblue
#00008B
ΔE00 5.31
Cobalt Blue
#030AA7
ΔE00 5.53
Navy
#000080
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1C86 #75861C
analogous
#1C4086 #2D1C86 #621C86
triadic
#2D1C86 #862D1C #1C862D
tetradic
#2D1C86 #861C40 #75861C #1C8662
square
#2D1C86 #861C40 #75861C #1C8662
split-complementary
#2D1C86 #86621C #40861C
monochromatic
#0B0721 #1C1153 #2D1C86 #3E27B9 #5C44D8
Accessibility & contrast
On white
12.95
#2D1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2D1C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1C86
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1C86 | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 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: #2d1c86; /* rgb */ color: rgb(45, 28, 134); /* oklch */ color: oklch(33.2% 0.164 279.9);
Tailwind
colors: {
custom: {
50: '#735baa',
500: '#2d1c86',
950: '#000000',
},
}SCSS
$custom: #2d1c86; $custom-light: #735baa; $custom-dark: #000000;
JSON
{
"hex": "#2d1c86",
"rgb": {
"r": 45,
"g": 28,
"b": 134
},
"hsl": {
"h": 249.623,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.33199,
"c": 0.16397,
"h": 279.9
},
"luminance": 0.0311
}Semantic roles & 50–950 ramp
primary
#2D1C86
secondary
#A6B945
accent
#E83FCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F