#2D1D86#2D1D86
#2D1D86 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.163 H 279.8°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1D86 |
|---|---|
| RGB | rgb(45, 29, 134) |
| HSL | hsl(249, 64%, 32%) |
| HSV | hsv(249, 78%, 53%) |
| CMYK | cmyk(66.4%, 78.4%, 0%, 47.5%) |
| CIE-LAB | lab(20.66, 39.08, -55.64) |
| CIE-LCH | lch(20.66, 67.99, 305.08°) |
| OKLab | oklab(33.33% 0.0276 -0.1606) |
| OKLCH | oklch(33.33% 0.163 279.8) |
| XYZ | xyz(5.8233, 3.1574, 22.8522) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.31
Midnight Blue
#191970
ΔE00 4.15
Indigo (survey)
#380282
ΔE00 4.58
Darkblue
#00008B
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 5.64
Navy
#000080
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1D86 #76861D
analogous
#1D4286 #2D1D86 #621D86
triadic
#2D1D86 #862D1D #1D862D
tetradic
#2D1D86 #861D42 #76861D #1D8662
square
#2D1D86 #861D42 #76861D #1D8662
split-complementary
#2D1D86 #86621D #42861D
monochromatic
#0B0721 #1C1254 #2D1D86 #3E28B8 #5C46D7
Accessibility & contrast
On white
12.87
#2D1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2D1D86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1D86
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1D86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1D86 | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2d1d86; /* rgb */ color: rgb(45, 29, 134); /* oklch */ color: oklch(33.3% 0.163 279.8);
Tailwind
colors: {
custom: {
50: '#735caa',
500: '#2d1d86',
950: '#000000',
},
}SCSS
$custom: #2d1d86; $custom-light: #735caa; $custom-dark: #000000;
JSON
{
"hex": "#2d1d86",
"rgb": {
"r": 45,
"g": 29,
"b": 134
},
"hsl": {
"h": 249.143,
"s": 64.417,
"l": 31.961
},
"oklch": {
"l": 0.3333,
"c": 0.16299,
"h": 279.8
},
"luminance": 0.03158
}Semantic roles & 50–950 ramp
primary
#2D1D86
secondary
#A7B946
accent
#E740CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F