#2B1C88#2B1C88
#2B1C88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.167 H 278.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1C88 |
|---|---|
| RGB | rgb(43, 28, 136) |
| HSL | hsl(248, 66%, 32%) |
| HSV | hsv(248, 79%, 53%) |
| CMYK | cmyk(68.4%, 79.4%, 0%, 46.7%) |
| CIE-LAB | lab(20.52, 40.03, -57.14) |
| CIE-LCH | lch(20.52, 69.76, 305.02°) |
| OKLab | oklab(33.25% 0.0247 -0.165) |
| OKLCH | oklch(33.25% 0.167 278.5) |
| XYZ | xyz(5.8540, 3.1212, 23.5817) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.87
Midnight Blue
#191970
ΔE00 4.28
Indigo (survey)
#380282
ΔE00 4.53
Darkblue
#00008B
ΔE00 5.14
Cobalt Blue
#030AA7
ΔE00 5.20
Navy
#000080
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1C88 #79881C
analogous
#1C4388 #2B1C88 #611C88
triadic
#2B1C88 #882B1C #1C882B
tetradic
#2B1C88 #881C43 #79881C #1C8861
square
#2B1C88 #881C43 #79881C #1C8861
split-complementary
#2B1C88 #88611C #43881C
monochromatic
#0B0722 #1B1255 #2B1C88 #3B26BB #5A46D9
Accessibility & contrast
On white
12.93
#2B1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2B1C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1C88
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1C88 | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b1c88; /* rgb */ color: rgb(43, 28, 136); /* oklch */ color: oklch(33.3% 0.167 278.5);
Tailwind
colors: {
custom: {
50: '#735bac',
500: '#2b1c88',
950: '#000000',
},
}SCSS
$custom: #2b1c88; $custom-light: #735bac; $custom-dark: #000000;
JSON
{
"hex": "#2b1c88",
"rgb": {
"r": 43,
"g": 28,
"b": 136
},
"hsl": {
"h": 248.333,
"s": 65.854,
"l": 32.157
},
"oklch": {
"l": 0.33253,
"c": 0.16687,
"h": 278.5
},
"luminance": 0.03122
}Semantic roles & 50–950 ramp
primary
#2B1C88
secondary
#AABA45
accent
#E93FD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F