#2A2EA9#2A2EA9
#2A2EA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.190 H 272.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2EA9 |
|---|---|
| RGB | rgb(42, 46, 169) |
| HSL | hsl(238, 60%, 41%) |
| HSV | hsv(238, 75%, 66%) |
| CMYK | cmyk(75.1%, 72.8%, 0%, 33.7%) |
| CIE-LAB | lab(27.60, 40.73, -65.73) |
| CIE-LCH | lch(27.60, 77.33, 301.79°) |
| OKLab | oklab(39.3% 0.007 -0.1902) |
| OKLCH | oklch(39.3% 0.19 272.1) |
| XYZ | xyz(9.0909, 5.3098, 38.0742) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.11
Indigo Blue
#3A18B1
ΔE00 4.94
Royal
#0C1793
ΔE00 6.22
True Blue
#010FCC
ΔE00 6.35
Blue Blue
#2242C7
ΔE00 6.70
Ocean Blue
#4F42B5
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2EA9 #A9A52A
analogous
#2A6EA9 #2A2EA9 #662AA9
triadic
#2A2EA9 #A92A2E #2EA92A
tetradic
#2A2EA9 #A92A6E #A9A52A #2AA966
square
#2A2EA9 #A92A6E #A9A52A #2AA966
split-complementary
#2A2EA9 #A9662A #6EA92A
monochromatic
#121347 #1E2178 #2A2EA9 #4145D0 #7275DC
Accessibility & contrast
On white
10.18
#2A2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2A2EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2EA9
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2EA9 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a2ea9; /* rgb */ color: rgb(42, 46, 169); /* oklch */ color: oklch(39.3% 0.190 272.1);
Tailwind
colors: {
custom: {
50: '#7868c4',
500: '#2a2ea9',
950: '#000000',
},
}SCSS
$custom: #2a2ea9; $custom-light: #7868c4; $custom-dark: #000000;
JSON
{
"hex": "#2a2ea9",
"rgb": {
"r": 42,
"g": 46,
"b": 169
},
"hsl": {
"h": 238.11,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.39295,
"c": 0.19036,
"h": 272.1
},
"luminance": 0.05311
}Semantic roles & 50–950 ramp
primary
#2A2EA9
secondary
#C3C06C
accent
#DE44E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82