#2B1E9D#2B1E9D
#2B1E9D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.191 H 275.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1E9D |
|---|---|
| RGB | rgb(43, 30, 157) |
| HSL | hsl(246, 68%, 37%) |
| HSV | hsv(246, 81%, 62%) |
| CMYK | cmyk(72.6%, 80.9%, 0%, 38.4%) |
| CIE-LAB | lab(23.26, 45.67, -65.62) |
| CIE-LCH | lch(23.26, 79.95, 304.84°) |
| OKLab | oklab(35.86% 0.018 -0.1897) |
| OKLCH | oklch(35.86% 0.191 275.4) |
| XYZ | xyz(7.5443, 3.8757, 32.2423) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.98
Indigo Blue
#3A18B1
ΔE00 3.35
Cobalt Blue
#030AA7
ΔE00 3.62
Royal Blue (survey)
#0504AA
ΔE00 4.07
Ultramarine
#2000B1
ΔE00 4.21
True Blue
#010FCC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1E9D #909D1E
analogous
#1E519D #2B1E9D #6B1E9D
triadic
#2B1E9D #9D2B1E #1E9D2B
tetradic
#2B1E9D #9D1E51 #909D1E #1E9D6B
square
#2B1E9D #9D1E51 #909D1E #1E9D6B
split-complementary
#2B1E9D #9D6B1E #519D1E
monochromatic
#0F0A36 #1D146A #2B1E9D #3928D0 #6557DF
Accessibility & contrast
On white
11.83
#2B1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2B1E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1E9D
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1E9D | 1.00 | 11.83 | 1.78 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b1e9d; /* rgb */ color: rgb(43, 30, 157); /* oklch */ color: oklch(35.9% 0.191 275.4);
Tailwind
colors: {
custom: {
50: '#775ebb',
500: '#2b1e9d',
950: '#000000',
},
}SCSS
$custom: #2b1e9d; $custom-light: #775ebb; $custom-dark: #000000;
JSON
{
"hex": "#2b1e9d",
"rgb": {
"r": 43,
"g": 30,
"b": 157
},
"hsl": {
"h": 246.142,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.3586,
"c": 0.19059,
"h": 275.4
},
"luminance": 0.03876
}Semantic roles & 50–950 ramp
primary
#2B1E9D
secondary
#B7C254
accent
#EB3DD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981