#2A2EA7#2A2EA7
#2A2EA7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.188 H 272.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2EA7 |
|---|---|
| RGB | rgb(42, 46, 167) |
| HSL | hsl(238, 60%, 41%) |
| HSV | hsv(238, 75%, 65%) |
| CMYK | cmyk(74.9%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(27.39, 40.04, -64.86) |
| CIE-LCH | lch(27.39, 76.23, 301.69°) |
| OKLab | oklab(39.09% 0.0073 -0.1877) |
| OKLCH | oklch(39.09% 0.188 272.2) |
| XYZ | xyz(8.9045, 5.2353, 37.0930) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Indigo Blue
#3A18B1
ΔE00 5.05
Royal
#0C1793
ΔE00 6.10
True Blue
#010FCC
ΔE00 6.54
Blueberry
#464196
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2EA7 #A7A32A
analogous
#2A6CA7 #2A2EA7 #642AA7
triadic
#2A2EA7 #A72A2E #2EA72A
tetradic
#2A2EA7 #A72A6C #A7A32A #2AA764
square
#2A2EA7 #A72A6C #A7A32A #2AA764
split-complementary
#2A2EA7 #A7642A #6CA72A
monochromatic
#111345 #1E2176 #2A2EA7 #3F44CF #7074DB
Accessibility & contrast
On white
10.26
#2A2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2A2EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2EA7
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2EA7 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a2ea7; /* rgb */ color: rgb(42, 46, 167); /* oklch */ color: oklch(39.1% 0.188 272.2);
Tailwind
colors: {
custom: {
50: '#7868c2',
500: '#2a2ea7',
950: '#000000',
},
}SCSS
$custom: #2a2ea7; $custom-light: #7868c2; $custom-dark: #000000;
JSON
{
"hex": "#2a2ea7",
"rgb": {
"r": 42,
"g": 46,
"b": 167
},
"hsl": {
"h": 238.08,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.39087,
"c": 0.18784,
"h": 272.2
},
"luminance": 0.05236
}Semantic roles & 50–950 ramp
primary
#2A2EA7
secondary
#C2BF6B
accent
#DE45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82