#2D1E7C#2D1E7C
#2D1E7C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.149 H 281.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1E7C |
|---|---|
| RGB | rgb(45, 30, 124) |
| HSL | hsl(250, 61%, 30%) |
| HSV | hsv(250, 76%, 49%) |
| CMYK | cmyk(63.7%, 75.8%, 0%, 51.4%) |
| CIE-LAB | lab(19.81, 35.27, -50.73) |
| CIE-LCH | lch(19.81, 61.78, 304.81°) |
| OKLab | oklab(32.41% 0.0295 -0.1463) |
| OKLCH | oklch(32.41% 0.149 281.4) |
| XYZ | xyz(5.1834, 2.9413, 19.3595) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.09
Royal
#0C1793
ΔE00 4.58
Indigo (survey)
#380282
ΔE00 5.06
Dark Royal Blue
#02066F
ΔE00 5.98
Deep Blue
#040273
ΔE00 6.25
Navy
#000080
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1E7C #6D7C1E
analogous
#1E3E7C #2D1E7C #5C1E7C
triadic
#2D1E7C #7C2D1E #1E7C2D
tetradic
#2D1E7C #7C1E3E #6D7C1E #1E7C5C
square
#2D1E7C #7C1E3E #6D7C1E #1E7C5C
split-complementary
#2D1E7C #7C5C1E #3E7C1E
monochromatic
#090619 #1B124B #2D1E7C #3F2AAD #5A43D1
Accessibility & contrast
On white
13.22
#2D1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2D1E7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1E7C
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1E7C | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2d1e7c; /* rgb */ color: rgb(45, 30, 124); /* oklch */ color: oklch(32.4% 0.149 281.4);
Tailwind
colors: {
custom: {
50: '#715ca3',
500: '#2d1e7c',
950: '#000000',
},
}SCSS
$custom: #2d1e7c; $custom-light: #715ca3; $custom-dark: #000000;
JSON
{
"hex": "#2d1e7c",
"rgb": {
"r": 45,
"g": 30,
"b": 124
},
"hsl": {
"h": 249.574,
"s": 61.039,
"l": 30.196
},
"oklch": {
"l": 0.3241,
"c": 0.14922,
"h": 281.4
},
"luminance": 0.02942
}Semantic roles & 50–950 ramp
primary
#2D1E7C
secondary
#9FAF46
accent
#E444CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F