#2B1A9B#2B1A9B
#2B1A9B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.2% C 0.191 H 276.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1A9B |
|---|---|
| RGB | rgb(43, 26, 155) |
| HSL | hsl(248, 71%, 35%) |
| HSV | hsv(248, 83%, 61%) |
| CMYK | cmyk(72.3%, 83.2%, 0%, 39.2%) |
| CIE-LAB | lab(22.37, 46.97, -65.87) |
| CIE-LCH | lch(22.37, 80.90, 305.49°) |
| OKLab | oklab(35.18% 0.0202 -0.1904) |
| OKLCH | oklch(35.18% 0.191 276.1) |
| XYZ | xyz(7.2801, 3.6182, 31.3187) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.63
Cobalt Blue
#030AA7
ΔE00 3.16
Indigo Blue
#3A18B1
ΔE00 3.48
Royal Blue (survey)
#0504AA
ΔE00 3.59
Ultramarine
#2000B1
ΔE00 3.81
Darkblue
#00008B
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1A9B #8A9B1A
analogous
#1A499B #2B1A9B #6B1A9B
triadic
#2B1A9B #9B2B1A #1A9B2B
tetradic
#2B1A9B #9B1A49 #8A9B1A #1A9B6B
square
#2B1A9B #9B1A49 #8A9B1A #1A9B6B
split-complementary
#2B1A9B #9B6B1A #499B1A
monochromatic
#0E0832 #1C1167 #2B1A9B #3A23CF #614EE1
Accessibility & contrast
On white
12.18
#2B1A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2B1A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1A9B
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1A9B | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9E
Deuteranopia (green-blind)
#003099
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2b1a9b; /* rgb */ color: rgb(43, 26, 155); /* oklch */ color: oklch(35.2% 0.191 276.1);
Tailwind
colors: {
custom: {
50: '#775bba',
500: '#2b1a9b',
950: '#000000',
},
}SCSS
$custom: #2b1a9b; $custom-light: #775bba; $custom-dark: #000000;
JSON
{
"hex": "#2b1a9b",
"rgb": {
"r": 43,
"g": 26,
"b": 155
},
"hsl": {
"h": 247.907,
"s": 71.271,
"l": 35.49
},
"oklch": {
"l": 0.35176,
"c": 0.19146,
"h": 276.1
},
"luminance": 0.03619
}Semantic roles & 50–950 ramp
primary
#2B1A9B
secondary
#B4C44D
accent
#EE3AD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981