#2D1D85#2D1D85
#2D1D85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.162 H 279.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1D85 |
|---|---|
| RGB | rgb(45, 29, 133) |
| HSL | hsl(249, 64%, 32%) |
| HSV | hsv(249, 78%, 52%) |
| CMYK | cmyk(66.2%, 78.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.56, 38.76, -55.19) |
| CIE-LCH | lch(20.56, 67.44, 305.08°) |
| OKLab | oklab(33.22% 0.0279 -0.1593) |
| OKLCH | oklch(33.22% 0.162 279.9) |
| XYZ | xyz(5.7538, 3.1296, 22.4866) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.41
Midnight Blue
#191970
ΔE00 4.03
Indigo (survey)
#380282
ΔE00 4.58
Darkblue
#00008B
ΔE00 5.53
Cobalt Blue
#030AA7
ΔE00 5.77
Navy
#000080
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1D85 #75851D
analogous
#1D4185 #2D1D85 #611D85
triadic
#2D1D85 #852D1D #1D852D
tetradic
#2D1D85 #851D41 #75851D #1D8561
square
#2D1D85 #851D41 #75851D #1D8561
split-complementary
#2D1D85 #85611D #41851D
monochromatic
#0B0721 #1C1253 #2D1D85 #3E28B7 #5C46D7
Accessibility & contrast
On white
12.92
#2D1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2D1D85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1D85
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1D85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1D85 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2d1d85; /* rgb */ color: rgb(45, 29, 133); /* oklch */ color: oklch(33.2% 0.162 279.9);
Tailwind
colors: {
custom: {
50: '#735caa',
500: '#2d1d85',
950: '#000000',
},
}SCSS
$custom: #2d1d85; $custom-light: #735caa; $custom-dark: #000000;
JSON
{
"hex": "#2d1d85",
"rgb": {
"r": 45,
"g": 29,
"b": 133
},
"hsl": {
"h": 249.231,
"s": 64.198,
"l": 31.765
},
"oklch": {
"l": 0.33222,
"c": 0.16173,
"h": 279.9
},
"luminance": 0.0313
}Semantic roles & 50–950 ramp
primary
#2D1D85
secondary
#A6B846
accent
#E741CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F