#2B1AA0#2B1AA0
#2B1AA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.197 H 275.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1AA0 |
|---|---|
| RGB | rgb(43, 26, 160) |
| HSL | hsl(248, 72%, 36%) |
| HSV | hsv(248, 84%, 63%) |
| CMYK | cmyk(73.1%, 83.8%, 0%, 37.3%) |
| CIE-LAB | lab(22.96, 48.48, -67.94) |
| CIE-LCH | lch(22.96, 83.47, 305.51°) |
| OKLab | oklab(35.76% 0.0187 -0.1964) |
| OKLCH | oklch(35.76% 0.197 275.4) |
| XYZ | xyz(7.7087, 3.7897, 33.5761) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.88
Cobalt Blue
#030AA7
ΔE00 2.97
Royal
#0C1793
ΔE00 3.04
Royal Blue (survey)
#0504AA
ΔE00 3.35
Ultramarine
#2000B1
ΔE00 3.39
True Blue
#010FCC
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1AA0 #8FA01A
analogous
#1A4CA0 #2B1AA0 #6E1AA0
triadic
#2B1AA0 #A02B1A #1AA02B
tetradic
#2B1AA0 #A01A4C #8FA01A #1AA06E
square
#2B1AA0 #A01A4C #8FA01A #1AA06E
split-complementary
#2B1AA0 #A06E1A #4CA01A
monochromatic
#0F0937 #1D116B #2B1AA0 #3923D5 #6452E3
Accessibility & contrast
On white
11.95
#2B1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2B1AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1AA0
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1AA0 | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b1aa0; /* rgb */ color: rgb(43, 26, 160); /* oklch */ color: oklch(35.8% 0.197 275.4);
Tailwind
colors: {
custom: {
50: '#785cbd',
500: '#2b1aa0',
950: '#000000',
},
}SCSS
$custom: #2b1aa0; $custom-light: #785cbd; $custom-dark: #000000;
JSON
{
"hex": "#2b1aa0",
"rgb": {
"r": 43,
"g": 26,
"b": 160
},
"hsl": {
"h": 247.612,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.3576,
"c": 0.19729,
"h": 275.4
},
"luminance": 0.0379
}Semantic roles & 50–950 ramp
primary
#2B1AA0
secondary
#B7C550
accent
#EF39D8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981