#2E2B9E#2E2B9E
#2E2B9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.179 H 274.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B9E |
|---|---|
| RGB | rgb(46, 43, 158) |
| HSL | hsl(242, 57%, 39%) |
| HSV | hsv(242, 73%, 62%) |
| CMYK | cmyk(70.9%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(26.09, 39.16, -61.55) |
| CIE-LCH | lch(26.09, 72.95, 302.47°) |
| OKLab | oklab(37.94% 0.0152 -0.1779) |
| OKLCH | oklch(37.94% 0.179 274.9) |
| XYZ | xyz(8.1601, 4.7764, 32.8330) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.30
Indigo Blue
#3A18B1
ΔE00 4.83
Royal
#0C1793
ΔE00 5.14
Cobalt Blue
#030AA7
ΔE00 6.26
Royal Blue (survey)
#0504AA
ΔE00 6.74
Ultramarine
#2000B1
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B9E #9B9E2B
analogous
#2B629E #2E2B9E #682B9E
triadic
#2E2B9E #9E2E2B #2B9E2E
tetradic
#2E2B9E #9E2B62 #9B9E2B #2B9E68
square
#2E2B9E #9E2B62 #9B9E2B #2B9E68
split-complementary
#2E2B9E #9E682B #629E2B
monochromatic
#12113E #201E6E #2E2B9E #403CCA #6F6CD7
Accessibility & contrast
On white
10.74
#2E2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2E2B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B9E
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B9E | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e2b9e; /* rgb */ color: rgb(46, 43, 158); /* oklch */ color: oklch(37.9% 0.179 274.9);
Tailwind
colors: {
custom: {
50: '#7866bc',
500: '#2e2b9e',
950: '#000000',
},
}SCSS
$custom: #2e2b9e; $custom-light: #7866bc; $custom-dark: #000000;
JSON
{
"hex": "#2e2b9e",
"rgb": {
"r": 46,
"g": 43,
"b": 158
},
"hsl": {
"h": 241.565,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.37944,
"c": 0.17858,
"h": 274.9
},
"luminance": 0.04777
}Semantic roles & 50–950 ramp
primary
#2E2B9E
secondary
#BCBE67
accent
#E047DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81