#2B1987#2B1987
#2B1987 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.168 H 279.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1987 |
|---|---|
| RGB | rgb(43, 25, 135) |
| HSL | hsl(250, 69%, 31%) |
| HSV | hsv(250, 81%, 53%) |
| CMYK | cmyk(68.1%, 81.5%, 0%, 47.1%) |
| CIE-LAB | lab(19.87, 41.26, -57.58) |
| CIE-LCH | lch(19.87, 70.84, 305.63°) |
| OKLab | oklab(32.77% 0.0266 -0.1663) |
| OKLCH | oklch(32.77% 0.168 279.1) |
| XYZ | xyz(5.7157, 2.9576, 23.1866) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.86
Indigo (survey)
#380282
ΔE00 3.93
Midnight Blue
#191970
ΔE00 4.25
Darkblue
#00008B
ΔE00 4.64
Cobalt Blue
#030AA7
ΔE00 5.04
Navy
#000080
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1987 #758719
analogous
#193E87 #2B1987 #621987
triadic
#2B1987 #872B19 #19872B
tetradic
#2B1987 #87193E #758719 #198762
square
#2B1987 #87193E #758719 #198762
split-complementary
#2B1987 #876219 #3E8719
monochromatic
#0A0620 #1B0F53 #2B1987 #3B23BB #593FDB
Accessibility & contrast
On white
13.19
#2B1987 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2B1987 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1987
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1987 | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1987; /* rgb */ color: rgb(43, 25, 135); /* oklch */ color: oklch(32.8% 0.168 279.1);
Tailwind
colors: {
custom: {
50: '#7359ab',
500: '#2b1987',
950: '#000000',
},
}SCSS
$custom: #2b1987; $custom-light: #7359ab; $custom-dark: #000000;
JSON
{
"hex": "#2b1987",
"rgb": {
"r": 43,
"g": 25,
"b": 135
},
"hsl": {
"h": 249.818,
"s": 68.75,
"l": 31.373
},
"oklch": {
"l": 0.32767,
"c": 0.16841,
"h": 279.1
},
"luminance": 0.02958
}Semantic roles & 50–950 ramp
primary
#2B1987
secondary
#A7BA41
accent
#EC3CCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F