#2B1B88#2B1B88
#2B1B88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.168 H 278.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1B88 |
|---|---|
| RGB | rgb(43, 27, 136) |
| HSL | hsl(249, 67%, 32%) |
| HSV | hsv(249, 80%, 53%) |
| CMYK | cmyk(68.4%, 80.1%, 0%, 46.7%) |
| CIE-LAB | lab(20.34, 40.56, -57.44) |
| CIE-LCH | lch(20.34, 70.32, 305.23°) |
| OKLab | oklab(33.13% 0.0253 -0.1659) |
| OKLCH | oklch(33.13% 0.168 278.7) |
| XYZ | xyz(5.8307, 3.0745, 23.5740) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.82
Midnight Blue
#191970
ΔE00 4.31
Indigo (survey)
#380282
ΔE00 4.33
Darkblue
#00008B
ΔE00 4.96
Cobalt Blue
#030AA7
ΔE00 5.09
Navy
#000080
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1B88 #78881B
analogous
#1B4288 #2B1B88 #621B88
triadic
#2B1B88 #882B1B #1B882B
tetradic
#2B1B88 #881B42 #78881B #1B8862
square
#2B1B88 #881B42 #78881B #1B8862
split-complementary
#2B1B88 #88621B #42881B
monochromatic
#0B0722 #1B1155 #2B1B88 #3B25BB #5A44DA
Accessibility & contrast
On white
13.00
#2B1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2B1B88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1B88
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1B88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1B88 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b1b88; /* rgb */ color: rgb(43, 27, 136); /* oklch */ color: oklch(33.1% 0.168 278.7);
Tailwind
colors: {
custom: {
50: '#735bac',
500: '#2b1b88',
950: '#000000',
},
}SCSS
$custom: #2b1b88; $custom-light: #735bac; $custom-dark: #000000;
JSON
{
"hex": "#2b1b88",
"rgb": {
"r": 43,
"g": 27,
"b": 136
},
"hsl": {
"h": 248.807,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.33125,
"c": 0.16781,
"h": 278.7
},
"luminance": 0.03075
}Semantic roles & 50–950 ramp
primary
#2B1B88
secondary
#AABB44
accent
#EA3ED1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F