#2D1E9B#2D1E9B
#2D1E9B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.188 H 276.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1E9B |
|---|---|
| RGB | rgb(45, 30, 155) |
| HSL | hsl(247, 68%, 36%) |
| HSV | hsv(247, 81%, 61%) |
| CMYK | cmyk(71%, 80.6%, 0%, 39.2%) |
| CIE-LAB | lab(23.18, 45.22, -64.53) |
| CIE-LCH | lch(23.18, 78.79, 305.02°) |
| OKLab | oklab(35.78% 0.0214 -0.1865) |
| OKLCH | oklch(35.78% 0.188 276.5) |
| XYZ | xyz(7.4609, 3.8523, 31.3544) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.01
Indigo Blue
#3A18B1
ΔE00 3.49
Cobalt Blue
#030AA7
ΔE00 3.80
Royal Blue (survey)
#0504AA
ΔE00 4.24
Ultramarine
#2000B1
ΔE00 4.38
Indigo (survey)
#380282
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1E9B #8C9B1E
analogous
#1E4E9B #2D1E9B #6C1E9B
triadic
#2D1E9B #9B2D1E #1E9B2D
tetradic
#2D1E9B #9B1E4E #8C9B1E #1E9B6C
square
#2D1E9B #9B1E4E #8C9B1E #1E9B6C
split-complementary
#2D1E9B #9B6C1E #4E9B1E
monochromatic
#0F0A34 #1E1468 #2D1E9B #3C28CE #6655DE
Accessibility & contrast
On white
11.86
#2D1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2D1E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1E9B
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1E9B | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2d1e9b; /* rgb */ color: rgb(45, 30, 155); /* oklch */ color: oklch(35.8% 0.188 276.5);
Tailwind
colors: {
custom: {
50: '#785eba',
500: '#2d1e9b',
950: '#000000',
},
}SCSS
$custom: #2d1e9b; $custom-light: #785eba; $custom-dark: #000000;
JSON
{
"hex": "#2d1e9b",
"rgb": {
"r": 45,
"g": 30,
"b": 155
},
"hsl": {
"h": 247.2,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.35777,
"c": 0.18772,
"h": 276.5
},
"luminance": 0.03853
}Semantic roles & 50–950 ramp
primary
#2D1E9B
secondary
#B4C253
accent
#EA3DD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981