#2B1E99#2B1E99
#2B1E99 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.186 H 275.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1E99 |
|---|---|
| RGB | rgb(43, 30, 153) |
| HSL | hsl(246, 67%, 36%) |
| HSV | hsv(246, 80%, 60%) |
| CMYK | cmyk(71.9%, 80.4%, 0%, 40%) |
| CIE-LAB | lab(22.80, 44.41, -63.93) |
| CIE-LCH | lch(22.80, 77.84, 304.79°) |
| OKLab | oklab(35.41% 0.0191 -0.1848) |
| OKLCH | oklch(35.41% 0.186 275.9) |
| XYZ | xyz(7.2084, 3.7414, 30.4731) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.73
Cobalt Blue
#030AA7
ΔE00 3.81
Indigo Blue
#3A18B1
ΔE00 3.84
Royal Blue (survey)
#0504AA
ΔE00 4.30
Ultramarine
#2000B1
ΔE00 4.55
Indigo (survey)
#380282
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1E99 #8C991E
analogous
#1E4F99 #2B1E99 #681E99
triadic
#2B1E99 #992B1E #1E992B
tetradic
#2B1E99 #991E4F #8C991E #1E9968
square
#2B1E99 #991E4F #8C991E #1E9968
split-complementary
#2B1E99 #99681E #4F991E
monochromatic
#0E0A33 #1D1466 #2B1E99 #3928CC #6254DD
Accessibility & contrast
On white
12.01
#2B1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2B1E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1E99
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1E99 | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b1e99; /* rgb */ color: rgb(43, 30, 153); /* oklch */ color: oklch(35.4% 0.186 275.9);
Tailwind
colors: {
custom: {
50: '#765db8',
500: '#2b1e99',
950: '#000000',
},
}SCSS
$custom: #2b1e99; $custom-light: #765db8; $custom-dark: #000000;
JSON
{
"hex": "#2b1e99",
"rgb": {
"r": 43,
"g": 30,
"b": 153
},
"hsl": {
"h": 246.341,
"s": 67.213,
"l": 35.882
},
"oklch": {
"l": 0.35406,
"c": 0.18581,
"h": 275.9
},
"luminance": 0.03742
}Semantic roles & 50–950 ramp
primary
#2B1E99
secondary
#B5C152
accent
#EA3ED8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981