#2E2AA5#2E2AA5
#2E2AA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.188 H 274.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2AA5 |
|---|---|
| RGB | rgb(46, 42, 165) |
| HSL | hsl(242, 59%, 41%) |
| HSV | hsv(242, 75%, 65%) |
| CMYK | cmyk(72.1%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(26.60, 42.10, -64.96) |
| CIE-LCH | lch(26.60, 77.41, 302.95°) |
| OKLab | oklab(38.52% 0.0145 -0.1879) |
| OKLCH | oklch(38.52% 0.188 274.4) |
| XYZ | xyz(8.7440, 4.9525, 36.0851) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.06
Sapphire (survey)
#2138AB
ΔE00 4.30
Royal
#0C1793
ΔE00 5.32
Cobalt Blue
#030AA7
ΔE00 5.90
True Blue
#010FCC
ΔE00 6.05
Ultramarine
#2000B1
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2AA5 #A1A52A
analogous
#2A63A5 #2E2AA5 #6B2AA5
triadic
#2E2AA5 #A52E2A #2AA52E
tetradic
#2E2AA5 #A52A63 #A1A52A #2AA56B
square
#2E2AA5 #A52A63 #A1A52A #2AA56B
split-complementary
#2E2AA5 #A56B2A #63A52A
monochromatic
#131143 #201E74 #2E2AA5 #433ECE #736FDA
Accessibility & contrast
On white
10.55
#2E2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E2AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2AA5
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2AA5 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e2aa5; /* rgb */ color: rgb(46, 42, 165); /* oklch */ color: oklch(38.5% 0.188 274.4);
Tailwind
colors: {
custom: {
50: '#7965c1',
500: '#2e2aa5',
950: '#000000',
},
}SCSS
$custom: #2e2aa5; $custom-light: #7965c1; $custom-dark: #000000;
JSON
{
"hex": "#2e2aa5",
"rgb": {
"r": 46,
"g": 42,
"b": 165
},
"hsl": {
"h": 241.951,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.38524,
"c": 0.18842,
"h": 274.4
},
"luminance": 0.04953
}Semantic roles & 50–950 ramp
primary
#2E2AA5
secondary
#BEC169
accent
#E345DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81