#2A2EA3#2A2EA3
#2A2EA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.183 H 272.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2EA3 |
|---|---|
| RGB | rgb(42, 46, 163) |
| HSL | hsl(238, 59%, 40%) |
| HSV | hsv(238, 74%, 64%) |
| CMYK | cmyk(74.2%, 71.8%, 0%, 36.1%) |
| CIE-LAB | lab(26.99, 38.65, -63.11) |
| CIE-LCH | lch(26.99, 74.01, 301.49°) |
| OKLab | oklab(38.67% 0.0079 -0.1826) |
| OKLCH | oklch(38.67% 0.183 272.5) |
| XYZ | xyz(8.5405, 5.0897, 35.1755) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.20
Indigo Blue
#3A18B1
ΔE00 5.31
Royal
#0C1793
ΔE00 5.89
Blueberry
#464196
ΔE00 6.57
Cobalt Blue
#030AA7
ΔE00 6.83
True Blue
#010FCC
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2EA3 #A39F2A
analogous
#2A6AA3 #2A2EA3 #632AA3
triadic
#2A2EA3 #A32A2E #2EA32A
tetradic
#2A2EA3 #A32A6A #A39F2A #2AA363
square
#2A2EA3 #A32A6A #A39F2A #2AA363
split-complementary
#2A2EA3 #A3632A #6AA32A
monochromatic
#111342 #1D2072 #2A2EA3 #3D42CD #6E71DA
Accessibility & contrast
On white
10.41
#2A2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2A2EA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2EA3
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2EA3 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a2ea3; /* rgb */ color: rgb(42, 46, 163); /* oklch */ color: oklch(38.7% 0.183 272.5);
Tailwind
colors: {
custom: {
50: '#7768bf',
500: '#2a2ea3',
950: '#000000',
},
}SCSS
$custom: #2a2ea3; $custom-light: #7768bf; $custom-dark: #000000;
JSON
{
"hex": "#2a2ea3",
"rgb": {
"r": 42,
"g": 46,
"b": 163
},
"hsl": {
"h": 238.017,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.38674,
"c": 0.18277,
"h": 272.5
},
"luminance": 0.05091
}Semantic roles & 50–950 ramp
primary
#2A2EA3
secondary
#C0BE68
accent
#DD46E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81