#2B1E7D#2B1E7D
#2B1E7D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.151 H 280.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1E7D |
|---|---|
| RGB | rgb(43, 30, 125) |
| HSL | hsl(248, 61%, 30%) |
| HSV | hsv(248, 76%, 49%) |
| CMYK | cmyk(65.6%, 76%, 0%, 51%) |
| CIE-LAB | lab(19.73, 35.33, -51.50) |
| CIE-LCH | lch(19.73, 62.45, 304.45°) |
| OKLab | oklab(32.34% 0.0262 -0.1486) |
| OKLCH | oklch(32.34% 0.151 280) |
| XYZ | xyz(5.1610, 2.9224, 19.6902) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.97
Royal
#0C1793
ΔE00 4.30
Indigo (survey)
#380282
ΔE00 5.16
Dark Royal Blue
#02066F
ΔE00 5.88
Navy
#000080
ΔE00 6.11
Darkblue
#00008B
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1E7D #707D1E
analogous
#1E407D #2B1E7D #5B1E7D
triadic
#2B1E7D #7D2B1E #1E7D2B
tetradic
#2B1E7D #7D1E40 #707D1E #1E7D5B
square
#2B1E7D #7D1E40 #707D1E #1E7D5B
split-complementary
#2B1E7D #7D5B1E #407D1E
monochromatic
#09061A #1A124C #2B1E7D #3C2AAE #5743D2
Accessibility & contrast
On white
13.25
#2B1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2B1E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1E7D
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1E7D | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1e7d; /* rgb */ color: rgb(43, 30, 125); /* oklch */ color: oklch(32.3% 0.151 280.0);
Tailwind
colors: {
custom: {
50: '#705ca4',
500: '#2b1e7d',
950: '#000000',
},
}SCSS
$custom: #2b1e7d; $custom-light: #705ca4; $custom-dark: #000000;
JSON
{
"hex": "#2b1e7d",
"rgb": {
"r": 43,
"g": 30,
"b": 125
},
"hsl": {
"h": 248.211,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.32342,
"c": 0.15088,
"h": 280
},
"luminance": 0.02923
}Semantic roles & 50–950 ramp
primary
#2B1E7D
secondary
#A2B046
accent
#E443CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F