#2B1B85#2B1B85
#2B1B85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.164 H 279.2°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1B85 |
|---|---|
| RGB | rgb(43, 27, 133) |
| HSL | hsl(249, 66%, 31%) |
| HSV | hsv(249, 80%, 52%) |
| CMYK | cmyk(67.7%, 79.7%, 0%, 47.8%) |
| CIE-LAB | lab(20.01, 39.60, -56.11) |
| CIE-LCH | lch(20.01, 68.67, 305.22°) |
| OKLab | oklab(32.79% 0.0261 -0.162) |
| OKLCH | oklch(32.79% 0.164 279.2) |
| XYZ | xyz(5.6205, 2.9904, 22.4668) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.11
Midnight Blue
#191970
ΔE00 3.92
Indigo (survey)
#380282
ΔE00 4.30
Darkblue
#00008B
ΔE00 5.05
Navy
#000080
ΔE00 5.37
Cobalt Blue
#030AA7
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1B85 #75851B
analogous
#1B4085 #2B1B85 #601B85
triadic
#2B1B85 #852B1B #1B852B
tetradic
#2B1B85 #851B40 #75851B #1B8560
square
#2B1B85 #851B40 #75851B #1B8560
split-complementary
#2B1B85 #85601B #40851B
monochromatic
#0A061F #1B1152 #2B1B85 #3B25B8 #5942D9
Accessibility & contrast
On white
13.14
#2B1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2B1B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1B85
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1B85 | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1b85; /* rgb */ color: rgb(43, 27, 133); /* oklch */ color: oklch(32.8% 0.164 279.2);
Tailwind
colors: {
custom: {
50: '#725aaa',
500: '#2b1b85',
950: '#000000',
},
}SCSS
$custom: #2b1b85; $custom-light: #725aaa; $custom-dark: #000000;
JSON
{
"hex": "#2b1b85",
"rgb": {
"r": 43,
"g": 27,
"b": 133
},
"hsl": {
"h": 249.057,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.32793,
"c": 0.1641,
"h": 279.2
},
"luminance": 0.02991
}Semantic roles & 50–950 ramp
primary
#2B1B85
secondary
#A7B844
accent
#E93FCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F