#2E2EA0#2E2EA0
#2E2EA0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.178 H 274.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2EA0 |
|---|---|
| RGB | rgb(46, 46, 160) |
| HSL | hsl(240, 55%, 40%) |
| HSV | hsv(240, 71%, 63%) |
| CMYK | cmyk(71.2%, 71.2%, 0%, 37.3%) |
| CIE-LAB | lab(26.94, 38.05, -61.37) |
| CIE-LCH | lch(26.94, 72.20, 301.80°) |
| OKLab | oklab(38.61% 0.0131 -0.1774) |
| OKLCH | oklch(38.61% 0.178 274.2) |
| XYZ | xyz(8.4468, 5.0721, 33.7848) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.52
Indigo Blue
#3A18B1
ΔE00 5.32
Royal
#0C1793
ΔE00 5.86
Blueberry
#464196
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.75
Cobalt Blue
#030AA7
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2EA0 #A0A02E
analogous
#2E67A0 #2E2EA0 #672EA0
triadic
#2E2EA0 #A02E2E #2EA02E
tetradic
#2E2EA0 #A02E67 #A0A02E #2EA067
square
#2E2EA0 #A02E67 #A0A02E #2EA067
split-complementary
#2E2EA0 #A0672E #67A02E
monochromatic
#131341 #202070 #2E2EA0 #4242C9 #7272D6
Accessibility & contrast
On white
10.42
#2E2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2E2EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2EA0
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2EA0 | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e2ea0; /* rgb */ color: rgb(46, 46, 160); /* oklch */ color: oklch(38.6% 0.178 274.2);
Tailwind
colors: {
custom: {
50: '#7868bd',
500: '#2e2ea0',
950: '#000000',
},
}SCSS
$custom: #2e2ea0; $custom-light: #7868bd; $custom-dark: #000000;
JSON
{
"hex": "#2e2ea0",
"rgb": {
"r": 46,
"g": 46,
"b": 160
},
"hsl": {
"h": 240,
"s": 55.34,
"l": 40.392
},
"oklch": {
"l": 0.38614,
"c": 0.17788,
"h": 274.2
},
"luminance": 0.05073
}Semantic roles & 50–950 ramp
primary
#2E2EA0
secondary
#BEBE6C
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81