#2B1EA1#2B1EA1
#2B1EA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.195 H 275.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1EA1 |
|---|---|
| RGB | rgb(43, 30, 161) |
| HSL | hsl(246, 69%, 37%) |
| HSV | hsv(246, 81%, 63%) |
| CMYK | cmyk(73.3%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(23.72, 46.92, -67.30) |
| CIE-LCH | lch(23.72, 82.04, 304.88°) |
| OKLab | oklab(36.32% 0.017 -0.1946) |
| OKLCH | oklch(36.32% 0.195 275) |
| XYZ | xyz(7.8914, 4.0146, 34.0703) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.89
Royal
#0C1793
ΔE00 3.32
Cobalt Blue
#030AA7
ΔE00 3.51
Ultramarine
#2000B1
ΔE00 3.92
Royal Blue (survey)
#0504AA
ΔE00 3.93
True Blue
#010FCC
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1EA1 #94A11E
analogous
#1E53A1 #2B1EA1 #6C1EA1
triadic
#2B1EA1 #A12B1E #1EA12B
tetradic
#2B1EA1 #A11E53 #94A11E #1EA16C
square
#2B1EA1 #A11E53 #94A11E #1EA16C
split-complementary
#2B1EA1 #A16C1E #53A11E
monochromatic
#0F0B3A #1D146D #2B1EA1 #3928D5 #6759E0
Accessibility & contrast
On white
11.65
#2B1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2B1EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1EA1
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1EA1 | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2b1ea1; /* rgb */ color: rgb(43, 30, 161); /* oklch */ color: oklch(36.3% 0.195 275.0);
Tailwind
colors: {
custom: {
50: '#785ebe',
500: '#2b1ea1',
950: '#000000',
},
}SCSS
$custom: #2b1ea1; $custom-light: #785ebe; $custom-dark: #000000;
JSON
{
"hex": "#2b1ea1",
"rgb": {
"r": 43,
"g": 30,
"b": 161
},
"hsl": {
"h": 245.954,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.36317,
"c": 0.19534,
"h": 275
},
"luminance": 0.04015
}Semantic roles & 50–950 ramp
primary
#2B1EA1
secondary
#B9C457
accent
#EB3CDA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981