#2B2EA1#2B2EA1
#2B2EA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.180 H 273.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2EA1 |
|---|---|
| RGB | rgb(43, 46, 161) |
| HSL | hsl(238, 58%, 40%) |
| HSV | hsv(238, 73%, 63%) |
| CMYK | cmyk(73.3%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(26.85, 38.06, -62.13) |
| CIE-LCH | lch(26.85, 72.86, 301.49°) |
| OKLab | oklab(38.53% 0.0093 -0.1797) |
| OKLCH | oklch(38.53% 0.18 273) |
| XYZ | xyz(8.4041, 5.0399, 34.2412) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.32
Indigo Blue
#3A18B1
ΔE00 5.40
Royal
#0C1793
ΔE00 5.82
Blueberry
#464196
ΔE00 6.45
Cobalt Blue
#030AA7
ΔE00 6.88
Darkslateblue
#483D8B
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2EA1 #A19E2B
analogous
#2B69A1 #2B2EA1 #632BA1
triadic
#2B2EA1 #A12B2E #2EA12B
tetradic
#2B2EA1 #A12B69 #A19E2B #2BA163
square
#2B2EA1 #A12B69 #A19E2B #2BA163
split-complementary
#2B2EA1 #A1632B #69A12B
monochromatic
#111240 #1E2071 #2B2EA1 #3E41CB #6E71D8
Accessibility & contrast
On white
10.46
#2B2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2B2EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2EA1
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2EA1 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b2ea1; /* rgb */ color: rgb(43, 46, 161); /* oklch */ color: oklch(38.5% 0.180 273.0);
Tailwind
colors: {
custom: {
50: '#7768be',
500: '#2b2ea1',
950: '#000000',
},
}SCSS
$custom: #2b2ea1; $custom-light: #7768be; $custom-dark: #000000;
JSON
{
"hex": "#2b2ea1",
"rgb": {
"r": 43,
"g": 46,
"b": 161
},
"hsl": {
"h": 238.475,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.38528,
"c": 0.17995,
"h": 273
},
"luminance": 0.05041
}Semantic roles & 50–950 ramp
primary
#2B2EA1
secondary
#BFBD69
accent
#DD47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81