#2B1B86#2B1B86
#2B1B86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.165 H 279.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1B86 |
|---|---|
| RGB | rgb(43, 27, 134) |
| HSL | hsl(249, 66%, 32%) |
| HSV | hsv(249, 80%, 53%) |
| CMYK | cmyk(67.9%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(20.12, 39.92, -56.55) |
| CIE-LCH | lch(20.12, 69.22, 305.22°) |
| OKLab | oklab(32.9% 0.0258 -0.1633) |
| OKLCH | oklch(32.9% 0.165 279) |
| XYZ | xyz(5.6899, 3.0182, 22.8324) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.01
Midnight Blue
#191970
ΔE00 4.05
Indigo (survey)
#380282
ΔE00 4.30
Darkblue
#00008B
ΔE00 5.02
Cobalt Blue
#030AA7
ΔE00 5.35
Navy
#000080
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1B86 #76861B
analogous
#1B4186 #2B1B86 #611B86
triadic
#2B1B86 #862B1B #1B862B
tetradic
#2B1B86 #861B41 #76861B #1B8661
square
#2B1B86 #861B41 #76861B #1B8661
split-complementary
#2B1B86 #86611B #41861B
monochromatic
#0A0620 #1B1153 #2B1B86 #3B25B9 #5942D9
Accessibility & contrast
On white
13.09
#2B1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2B1B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1B86
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1B86 | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b1b86; /* rgb */ color: rgb(43, 27, 134); /* oklch */ color: oklch(32.9% 0.165 279.0);
Tailwind
colors: {
custom: {
50: '#725aaa',
500: '#2b1b86',
950: '#000000',
},
}SCSS
$custom: #2b1b86; $custom-light: #725aaa; $custom-dark: #000000;
JSON
{
"hex": "#2b1b86",
"rgb": {
"r": 43,
"g": 27,
"b": 134
},
"hsl": {
"h": 248.972,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.32903,
"c": 0.16534,
"h": 279
},
"luminance": 0.03019
}Semantic roles & 50–950 ramp
primary
#2B1B86
secondary
#A8B944
accent
#E93ED0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F