#2A2EA5#2A2EA5
#2A2EA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.185 H 272.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2EA5 |
|---|---|
| RGB | rgb(42, 46, 165) |
| HSL | hsl(238, 59%, 41%) |
| HSV | hsv(238, 75%, 65%) |
| CMYK | cmyk(74.5%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(27.19, 39.35, -63.99) |
| CIE-LCH | lch(27.19, 75.12, 301.59°) |
| OKLab | oklab(38.88% 0.0076 -0.1852) |
| OKLCH | oklch(38.88% 0.185 272.3) |
| XYZ | xyz(8.7211, 5.1619, 36.1268) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.15
Indigo Blue
#3A18B1
ΔE00 5.17
Royal
#0C1793
ΔE00 5.99
Blueberry
#464196
ΔE00 6.66
True Blue
#010FCC
ΔE00 6.73
Cobalt Blue
#030AA7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2EA5 #A5A12A
analogous
#2A6BA5 #2A2EA5 #632AA5
triadic
#2A2EA5 #A52A2E #2EA52A
tetradic
#2A2EA5 #A52A6B #A5A12A #2AA563
square
#2A2EA5 #A52A6B #A5A12A #2AA563
split-complementary
#2A2EA5 #A5632A #6BA52A
monochromatic
#111343 #1E2074 #2A2EA5 #3E43CE #6F73DA
Accessibility & contrast
On white
10.33
#2A2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2A2EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2EA5
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2EA5 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a2ea5; /* rgb */ color: rgb(42, 46, 165); /* oklch */ color: oklch(38.9% 0.185 272.3);
Tailwind
colors: {
custom: {
50: '#7768c1',
500: '#2a2ea5',
950: '#000000',
},
}SCSS
$custom: #2a2ea5; $custom-light: #7768c1; $custom-dark: #000000;
JSON
{
"hex": "#2a2ea5",
"rgb": {
"r": 42,
"g": 46,
"b": 165
},
"hsl": {
"h": 238.049,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.3888,
"c": 0.18531,
"h": 272.3
},
"luminance": 0.05163
}Semantic roles & 50–950 ramp
primary
#2A2EA5
secondary
#C1BE69
accent
#DD45E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81