#2B1986#2B1986
#2B1986 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.167 H 279.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1986 |
|---|---|
| RGB | rgb(43, 25, 134) |
| HSL | hsl(250, 69%, 31%) |
| HSV | hsv(250, 81%, 53%) |
| CMYK | cmyk(67.9%, 81.3%, 0%, 47.5%) |
| CIE-LAB | lab(19.76, 40.95, -57.14) |
| CIE-LCH | lch(19.76, 70.30, 305.63°) |
| OKLab | oklab(32.65% 0.0269 -0.165) |
| OKLCH | oklch(32.65% 0.167 279.3) |
| XYZ | xyz(5.6456, 2.9296, 22.8176) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.95
Indigo (survey)
#380282
ΔE00 3.91
Midnight Blue
#191970
ΔE00 4.13
Darkblue
#00008B
ΔE00 4.67
Navy
#000080
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1986 #748619
analogous
#193D86 #2B1986 #611986
triadic
#2B1986 #862B19 #19862B
tetradic
#2B1986 #86193D #748619 #198661
square
#2B1986 #86193D #748619 #198661
split-complementary
#2B1986 #866119 #3D8619
monochromatic
#0A061F #1A0F52 #2B1986 #3C23BA #583EDB
Accessibility & contrast
On white
13.24
#2B1986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2B1986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1986
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1986 | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1986; /* rgb */ color: rgb(43, 25, 134); /* oklch */ color: oklch(32.7% 0.167 279.3);
Tailwind
colors: {
custom: {
50: '#7259aa',
500: '#2b1986',
950: '#000000',
},
}SCSS
$custom: #2b1986; $custom-light: #7259aa; $custom-dark: #000000;
JSON
{
"hex": "#2b1986",
"rgb": {
"r": 43,
"g": 25,
"b": 134
},
"hsl": {
"h": 249.908,
"s": 68.553,
"l": 31.176
},
"oklch": {
"l": 0.32654,
"c": 0.16718,
"h": 279.3
},
"luminance": 0.0293
}Semantic roles & 50–950 ramp
primary
#2B1986
secondary
#A6BA41
accent
#EB3CCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F