#2E2BA7#2E2BA7
#2E2BA7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.190 H 274.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2BA7 |
|---|---|
| RGB | rgb(46, 43, 167) |
| HSL | hsl(241, 59%, 41%) |
| HSV | hsv(241, 74%, 65%) |
| CMYK | cmyk(72.5%, 74.3%, 0%, 34.5%) |
| CIE-LAB | lab(27.01, 42.19, -65.49) |
| CIE-LCH | lch(27.01, 77.90, 302.79°) |
| OKLab | oklab(38.88% 0.0136 -0.1894) |
| OKLCH | oklch(38.88% 0.19 274.1) |
| XYZ | xyz(8.9633, 5.0977, 37.0633) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.04
Indigo Blue
#3A18B1
ΔE00 4.15
Royal
#0C1793
ΔE00 5.63
True Blue
#010FCC
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2BA7 #A4A72B
analogous
#2B66A7 #2E2BA7 #6C2BA7
triadic
#2E2BA7 #A72E2B #2BA72E
tetradic
#2E2BA7 #A72B66 #A4A72B #2BA76C
square
#2E2BA7 #A72B66 #A4A72B #2BA76C
split-complementary
#2E2BA7 #A76C2B #66A72B
monochromatic
#131246 #211E76 #2E2BA7 #4541CE #7472DB
Accessibility & contrast
On white
10.40
#2E2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2E2BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2BA7
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2BA7 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e2ba7; /* rgb */ color: rgb(46, 43, 167); /* oklch */ color: oklch(38.9% 0.190 274.1);
Tailwind
colors: {
custom: {
50: '#7a66c2',
500: '#2e2ba7',
950: '#000000',
},
}SCSS
$custom: #2e2ba7; $custom-light: #7a66c2; $custom-dark: #000000;
JSON
{
"hex": "#2e2ba7",
"rgb": {
"r": 46,
"g": 43,
"b": 167
},
"hsl": {
"h": 241.452,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.38879,
"c": 0.1899,
"h": 274.1
},
"luminance": 0.05099
}Semantic roles & 50–950 ramp
primary
#2E2BA7
secondary
#C0C26C
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82