#2B1A82#2B1A82
#2B1A82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.161 H 279.8°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1A82 |
|---|---|
| RGB | rgb(43, 26, 130) |
| HSL | hsl(250, 67%, 31%) |
| HSV | hsv(250, 80%, 51%) |
| CMYK | cmyk(66.9%, 80%, 0%, 49%) |
| CIE-LAB | lab(19.49, 39.17, -55.06) |
| CIE-LCH | lch(19.49, 67.57, 305.42°) |
| OKLab | oklab(32.33% 0.0275 -0.159) |
| OKLCH | oklch(32.33% 0.161 279.8) |
| XYZ | xyz(5.3936, 2.8637, 21.3833) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.41
Midnight Blue
#191970
ΔE00 3.59
Indigo (survey)
#380282
ΔE00 4.11
Darkblue
#00008B
ΔE00 5.01
Navy
#000080
ΔE00 5.20
Dark Royal Blue
#02066F
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1A82 #71821A
analogous
#1A3D82 #2B1A82 #5F1A82
triadic
#2B1A82 #822B1A #1A822B
tetradic
#2B1A82 #821A3D #71821A #1A825F
square
#2B1A82 #821A3D #71821A #1A825F
split-complementary
#2B1A82 #825F1A #3D821A
monochromatic
#09061C #1A104F #2B1A82 #3C24B5 #573ED8
Accessibility & contrast
On white
13.35
#2B1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2B1A82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1A82
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1A82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1A82 | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b1a82; /* rgb */ color: rgb(43, 26, 130); /* oklch */ color: oklch(32.3% 0.161 279.8);
Tailwind
colors: {
custom: {
50: '#725aa7',
500: '#2b1a82',
950: '#000000',
},
}SCSS
$custom: #2b1a82; $custom-light: #725aa7; $custom-dark: #000000;
JSON
{
"hex": "#2b1a82",
"rgb": {
"r": 43,
"g": 26,
"b": 130
},
"hsl": {
"h": 249.808,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.32333,
"c": 0.16134,
"h": 279.8
},
"luminance": 0.02864
}Semantic roles & 50–950 ramp
primary
#2B1A82
secondary
#A3B642
accent
#EA3ECE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F