#2B1E79#2B1E79
#2B1E79 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.146 H 280.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1E79 |
|---|---|
| RGB | rgb(43, 30, 121) |
| HSL | hsl(249, 60%, 30%) |
| HSV | hsv(249, 75%, 47%) |
| CMYK | cmyk(64.5%, 75.2%, 0%, 52.5%) |
| CIE-LAB | lab(19.32, 33.99, -49.62) |
| CIE-LCH | lch(19.32, 60.15, 304.41°) |
| OKLab | oklab(31.92% 0.0271 -0.1431) |
| OKLCH | oklch(31.92% 0.146 280.7) |
| XYZ | xyz(4.9106, 2.8222, 18.3714) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.64
Royal
#0C1793
ΔE00 4.87
Indigo (survey)
#380282
ΔE00 5.39
Dark Royal Blue
#02066F
ΔE00 5.81
Deep Blue
#040273
ΔE00 6.16
Navy
#000080
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1E79 #6C791E
analogous
#1E3F79 #2B1E79 #581E79
triadic
#2B1E79 #792B1E #1E792B
tetradic
#2B1E79 #791E3F #6C791E #1E7958
square
#2B1E79 #791E3F #6C791E #1E7958
split-complementary
#2B1E79 #79581E #3F791E
monochromatic
#090619 #1A1248 #2B1E79 #3C2AAA #5641D0
Accessibility & contrast
On white
13.42
#2B1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2B1E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1E79
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1E79 | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b1e79; /* rgb */ color: rgb(43, 30, 121); /* oklch */ color: oklch(31.9% 0.146 280.7);
Tailwind
colors: {
custom: {
50: '#6f5ba1',
500: '#2b1e79',
950: '#000000',
},
}SCSS
$custom: #2b1e79; $custom-light: #6f5ba1; $custom-dark: #000000;
JSON
{
"hex": "#2b1e79",
"rgb": {
"r": 43,
"g": 30,
"b": 121
},
"hsl": {
"h": 248.571,
"s": 60.265,
"l": 29.608
},
"oklch": {
"l": 0.31924,
"c": 0.14567,
"h": 280.7
},
"luminance": 0.02823
}Semantic roles & 50–950 ramp
primary
#2B1E79
secondary
#9EAD46
accent
#E344CD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F