#2E2AA6#2E2AA6
#2E2AA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.190 H 274.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2AA6 |
|---|---|
| RGB | rgb(46, 42, 166) |
| HSL | hsl(242, 60%, 41%) |
| HSV | hsv(242, 75%, 65%) |
| CMYK | cmyk(72.3%, 74.7%, 0%, 34.9%) |
| CIE-LAB | lab(26.70, 42.43, -65.39) |
| CIE-LCH | lch(26.70, 77.95, 302.98°) |
| OKLab | oklab(38.63% 0.0143 -0.1891) |
| OKLCH | oklch(38.63% 0.19 274.3) |
| XYZ | xyz(8.8353, 4.9891, 36.5664) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.99
Sapphire (survey)
#2138AB
ΔE00 4.28
Royal
#0C1793
ΔE00 5.39
Cobalt Blue
#030AA7
ΔE00 5.90
True Blue
#010FCC
ΔE00 5.95
Ultramarine
#2000B1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2AA6 #A2A62A
analogous
#2A64A6 #2E2AA6 #6C2AA6
triadic
#2E2AA6 #A62E2A #2AA62E
tetradic
#2E2AA6 #A62A64 #A2A62A #2AA66C
square
#2E2AA6 #A62A64 #A2A62A #2AA66C
split-complementary
#2E2AA6 #A66C2A #64A62A
monochromatic
#131144 #201E75 #2E2AA6 #433FCE #7370DB
Accessibility & contrast
On white
10.51
#2E2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2E2AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2AA6
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2AA6 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e2aa6; /* rgb */ color: rgb(46, 42, 166); /* oklch */ color: oklch(38.6% 0.190 274.3);
Tailwind
colors: {
custom: {
50: '#7a65c2',
500: '#2e2aa6',
950: '#000000',
},
}SCSS
$custom: #2e2aa6; $custom-light: #7a65c2; $custom-dark: #000000;
JSON
{
"hex": "#2e2aa6",
"rgb": {
"r": 46,
"g": 42,
"b": 166
},
"hsl": {
"h": 241.935,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.38629,
"c": 0.18966,
"h": 274.3
},
"luminance": 0.0499
}Semantic roles & 50–950 ramp
primary
#2E2AA6
secondary
#BFC26A
accent
#E345DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81