#2B1A9E#2B1A9E
#2B1A9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.195 H 275.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1A9E |
|---|---|
| RGB | rgb(43, 26, 158) |
| HSL | hsl(248, 72%, 36%) |
| HSV | hsv(248, 84%, 62%) |
| CMYK | cmyk(72.8%, 83.5%, 0%, 38%) |
| CIE-LAB | lab(22.72, 47.88, -67.12) |
| CIE-LCH | lch(22.72, 82.44, 305.50°) |
| OKLab | oklab(35.53% 0.0193 -0.194) |
| OKLCH | oklch(35.53% 0.195 275.7) |
| XYZ | xyz(7.5352, 3.7203, 32.6621) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.87
Cobalt Blue
#030AA7
ΔE00 3.03
Indigo Blue
#3A18B1
ΔE00 3.12
Royal Blue (survey)
#0504AA
ΔE00 3.43
Ultramarine
#2000B1
ΔE00 3.54
Darkblue
#00008B
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1A9E #8D9E1A
analogous
#1A4B9E #2B1A9E #6D1A9E
triadic
#2B1A9E #9E2B1A #1A9E2B
tetradic
#2B1A9E #9E1A4B #8D9E1A #1A9E6D
square
#2B1A9E #9E1A4B #8D9E1A #1A9E6D
split-complementary
#2B1A9E #9E6D1A #4B9E1A
monochromatic
#0E0935 #1D1169 #2B1A9E #3923D3 #6350E2
Accessibility & contrast
On white
12.04
#2B1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2B1A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1A9E
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1A9E | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b1a9e; /* rgb */ color: rgb(43, 26, 158); /* oklch */ color: oklch(35.5% 0.195 275.7);
Tailwind
colors: {
custom: {
50: '#785cbc',
500: '#2b1a9e',
950: '#000000',
},
}SCSS
$custom: #2b1a9e; $custom-light: #785cbc; $custom-dark: #000000;
JSON
{
"hex": "#2b1a9e",
"rgb": {
"r": 43,
"g": 26,
"b": 158
},
"hsl": {
"h": 247.727,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.35526,
"c": 0.19496,
"h": 275.7
},
"luminance": 0.03721
}Semantic roles & 50–950 ramp
primary
#2B1A9E
secondary
#B6C54F
accent
#EE39D7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981