#2D1E7B#2D1E7B
#2D1E7B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.148 H 281.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1E7B |
|---|---|
| RGB | rgb(45, 30, 123) |
| HSL | hsl(250, 61%, 30%) |
| HSV | hsv(250, 76%, 48%) |
| CMYK | cmyk(63.4%, 75.6%, 0%, 51.8%) |
| CIE-LAB | lab(19.70, 34.94, -50.26) |
| CIE-LCH | lch(19.70, 61.21, 304.81°) |
| OKLab | oklab(32.31% 0.0297 -0.1449) |
| OKLCH | oklch(32.31% 0.148 281.6) |
| XYZ | xyz(5.1205, 2.9161, 19.0281) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.01
Royal
#0C1793
ΔE00 4.72
Indigo (survey)
#380282
ΔE00 5.12
Dark Royal Blue
#02066F
ΔE00 5.96
Deep Blue
#040273
ΔE00 6.25
Navy
#000080
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1E7B #6C7B1E
analogous
#1E3E7B #2D1E7B #5B1E7B
triadic
#2D1E7B #7B2D1E #1E7B2D
tetradic
#2D1E7B #7B1E3E #6C7B1E #1E7B5B
square
#2D1E7B #7B1E3E #6C7B1E #1E7B5B
split-complementary
#2D1E7B #7B5B1E #3E7B1E
monochromatic
#090619 #1B124A #2D1E7B #3F2AAC #5942D1
Accessibility & contrast
On white
13.26
#2D1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2D1E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1E7B
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1E7B | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2d1e7b; /* rgb */ color: rgb(45, 30, 123); /* oklch */ color: oklch(32.3% 0.148 281.6);
Tailwind
colors: {
custom: {
50: '#715ca2',
500: '#2d1e7b',
950: '#000000',
},
}SCSS
$custom: #2d1e7b; $custom-light: #715ca2; $custom-dark: #000000;
JSON
{
"hex": "#2d1e7b",
"rgb": {
"r": 45,
"g": 30,
"b": 123
},
"hsl": {
"h": 249.677,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.32306,
"c": 0.14792,
"h": 281.6
},
"luminance": 0.02916
}Semantic roles & 50–950 ramp
primary
#2D1E7B
secondary
#9EAE46
accent
#E444CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F