#2B1BA0#2B1BA0
#2B1BA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.9% C 0.197 H 275.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1BA0 |
|---|---|
| RGB | rgb(43, 27, 160) |
| HSL | hsl(247, 71%, 37%) |
| HSV | hsv(247, 83%, 63%) |
| CMYK | cmyk(73.1%, 83.1%, 0%, 37.3%) |
| CIE-LAB | lab(23.12, 48.03, -67.69) |
| CIE-LCH | lch(23.12, 83.00, 305.36°) |
| OKLab | oklab(35.87% 0.0184 -0.1957) |
| OKLCH | oklch(35.87% 0.197 275.4) |
| XYZ | xyz(7.7313, 3.8348, 33.5836) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.89
Royal
#0C1793
ΔE00 3.07
Cobalt Blue
#030AA7
ΔE00 3.10
Royal Blue (survey)
#0504AA
ΔE00 3.49
Ultramarine
#2000B1
ΔE00 3.53
True Blue
#010FCC
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1BA0 #90A01B
analogous
#1B4EA0 #2B1BA0 #6E1BA0
triadic
#2B1BA0 #A02B1B #1BA02B
tetradic
#2B1BA0 #A01B4E #90A01B #1BA06E
square
#2B1BA0 #A01B4E #90A01B #1BA06E
split-complementary
#2B1BA0 #A06E1B #4EA01B
monochromatic
#0F0937 #1D126C #2B1BA0 #3924D4 #6553E2
Accessibility & contrast
On white
11.88
#2B1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2B1BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1BA0
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1BA0 | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b1ba0; /* rgb */ color: rgb(43, 27, 160); /* oklch */ color: oklch(35.9% 0.197 275.4);
Tailwind
colors: {
custom: {
50: '#785cbd',
500: '#2b1ba0',
950: '#000000',
},
}SCSS
$custom: #2b1ba0; $custom-light: #785cbd; $custom-dark: #000000;
JSON
{
"hex": "#2b1ba0",
"rgb": {
"r": 43,
"g": 27,
"b": 160
},
"hsl": {
"h": 247.218,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.35866,
"c": 0.19653,
"h": 275.4
},
"luminance": 0.03836
}Semantic roles & 50–950 ramp
primary
#2B1BA0
secondary
#B7C552
accent
#EE3AD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981