#2D1E7D#2D1E7D
#2D1E7D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.151 H 281.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1E7D |
|---|---|
| RGB | rgb(45, 30, 125) |
| HSL | hsl(249, 61%, 30%) |
| HSV | hsv(249, 76%, 49%) |
| CMYK | cmyk(64%, 76%, 0%, 51%) |
| CIE-LAB | lab(19.91, 35.60, -51.19) |
| CIE-LCH | lch(19.91, 62.35, 304.81°) |
| OKLab | oklab(32.51% 0.0292 -0.1476) |
| OKLCH | oklch(32.51% 0.151 281.2) |
| XYZ | xyz(5.2470, 2.9667, 19.6942) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.17
Royal
#0C1793
ΔE00 4.44
Indigo (survey)
#380282
ΔE00 5.01
Dark Royal Blue
#02066F
ΔE00 6.01
Darkblue
#00008B
ΔE00 6.21
Navy
#000080
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1E7D #6E7D1E
analogous
#1E3E7D #2D1E7D #5C1E7D
triadic
#2D1E7D #7D2D1E #1E7D2D
tetradic
#2D1E7D #7D1E3E #6E7D1E #1E7D5C
square
#2D1E7D #7D1E3E #6E7D1E #1E7D5C
split-complementary
#2D1E7D #7D5C1E #3E7D1E
monochromatic
#09061A #1B124C #2D1E7D #3F2AAE #5A43D2
Accessibility & contrast
On white
13.18
#2D1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2D1E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1E7D
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1E7D | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2d1e7d; /* rgb */ color: rgb(45, 30, 125); /* oklch */ color: oklch(32.5% 0.151 281.2);
Tailwind
colors: {
custom: {
50: '#715ca4',
500: '#2d1e7d',
950: '#000000',
},
}SCSS
$custom: #2d1e7d; $custom-light: #715ca4; $custom-dark: #000000;
JSON
{
"hex": "#2d1e7d",
"rgb": {
"r": 45,
"g": 30,
"b": 125
},
"hsl": {
"h": 249.474,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.32514,
"c": 0.15051,
"h": 281.2
},
"luminance": 0.02967
}Semantic roles & 50–950 ramp
primary
#2D1E7D
secondary
#A0B046
accent
#E443CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F