#2D1C85#2D1C85
#2D1C85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.163 H 280.1°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1C85 |
|---|---|
| RGB | rgb(45, 28, 133) |
| HSL | hsl(250, 65%, 32%) |
| HSV | hsv(250, 79%, 52%) |
| CMYK | cmyk(66.2%, 78.9%, 0%, 47.8%) |
| CIE-LAB | lab(20.37, 39.30, -55.50) |
| CIE-LCH | lch(20.37, 68.01, 305.30°) |
| OKLab | oklab(33.09% 0.0285 -0.1602) |
| OKLCH | oklch(33.09% 0.163 280.1) |
| XYZ | xyz(5.7297, 3.0814, 22.4786) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.35
Midnight Blue
#191970
ΔE00 4.04
Indigo (survey)
#380282
ΔE00 4.37
Darkblue
#00008B
ΔE00 5.34
Cobalt Blue
#030AA7
ΔE00 5.66
Navy
#000080
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1C85 #74851C
analogous
#1C4085 #2D1C85 #621C85
triadic
#2D1C85 #852D1C #1C852D
tetradic
#2D1C85 #851C40 #74851C #1C8562
square
#2D1C85 #851C40 #74851C #1C8562
split-complementary
#2D1C85 #85621C #40851C
monochromatic
#0B0720 #1C1152 #2D1C85 #3E27B8 #5C44D8
Accessibility & contrast
On white
12.99
#2D1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2D1C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1C85
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1C85 | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 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: #2d1c85; /* rgb */ color: rgb(45, 28, 133); /* oklch */ color: oklch(33.1% 0.163 280.1);
Tailwind
colors: {
custom: {
50: '#735baa',
500: '#2d1c85',
950: '#000000',
},
}SCSS
$custom: #2d1c85; $custom-light: #735baa; $custom-dark: #000000;
JSON
{
"hex": "#2d1c85",
"rgb": {
"r": 45,
"g": 28,
"b": 133
},
"hsl": {
"h": 249.714,
"s": 65.217,
"l": 31.569
},
"oklch": {
"l": 0.3309,
"c": 0.16273,
"h": 280.1
},
"luminance": 0.03082
}Semantic roles & 50–950 ramp
primary
#2D1C85
secondary
#A5B845
accent
#E840CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F