#2B1D7F#2B1D7F
#2B1D7F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.155 H 279.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1D7F |
|---|---|
| RGB | rgb(43, 29, 127) |
| HSL | hsl(249, 63%, 31%) |
| HSV | hsv(249, 77%, 50%) |
| CMYK | cmyk(66.1%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(19.74, 36.56, -52.75) |
| CIE-LCH | lch(19.74, 64.18, 304.72°) |
| OKLab | oklab(32.41% 0.0264 -0.1523) |
| OKLCH | oklch(32.41% 0.155 279.8) |
| XYZ | xyz(5.2652, 2.9242, 20.3615) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.17
Royal
#0C1793
ΔE00 3.94
Indigo (survey)
#380282
ΔE00 4.84
Darkblue
#00008B
ΔE00 5.76
Dark Royal Blue
#02066F
ΔE00 5.77
Navy
#000080
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1D7F #717F1D
analogous
#1D407F #2B1D7F #5C1D7F
triadic
#2B1D7F #7F2B1D #1D7F2B
tetradic
#2B1D7F #7F1D40 #717F1D #1D7F5C
square
#2B1D7F #7F1D40 #717F1D #1D7F5C
split-complementary
#2B1D7F #7F5C1D #407F1D
monochromatic
#09061B #1A124D #2B1D7F #3C28B1 #5742D4
Accessibility & contrast
On white
13.25
#2B1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2B1D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1D7F
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1D7F | 1.00 | 13.25 | 1.59 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1d7f; /* rgb */ color: rgb(43, 29, 127); /* oklch */ color: oklch(32.4% 0.155 279.8);
Tailwind
colors: {
custom: {
50: '#715ba5',
500: '#2b1d7f',
950: '#000000',
},
}SCSS
$custom: #2b1d7f; $custom-light: #715ba5; $custom-dark: #000000;
JSON
{
"hex": "#2b1d7f",
"rgb": {
"r": 43,
"g": 29,
"b": 127
},
"hsl": {
"h": 248.571,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.3241,
"c": 0.15454,
"h": 279.8
},
"luminance": 0.02925
}Semantic roles & 50–950 ramp
primary
#2B1D7F
secondary
#A3B245
accent
#E642CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F