#2A2EAD#2A2EAD
#2A2EAD is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.195 H 271.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2EAD |
|---|---|
| RGB | rgb(42, 46, 173) |
| HSL | hsl(238, 61%, 42%) |
| HSV | hsv(238, 76%, 68%) |
| CMYK | cmyk(75.7%, 73.4%, 0%, 32.2%) |
| CIE-LAB | lab(28.01, 42.10, -67.45) |
| CIE-LCH | lch(28.01, 79.51, 301.97°) |
| OKLab | oklab(39.71% 0.0063 -0.1952) |
| OKLCH | oklch(39.71% 0.195 271.9) |
| XYZ | xyz(9.4721, 5.4624, 40.0822) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.17
Indigo Blue
#3A18B1
ΔE00 4.77
True Blue
#010FCC
ΔE00 6.00
Blue Blue
#2242C7
ΔE00 6.40
Royal
#0C1793
ΔE00 6.51
Ocean Blue
#4F42B5
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2EAD #ADA92A
analogous
#2A70AD #2A2EAD #682AAD
triadic
#2A2EAD #AD2A2E #2EAD2A
tetradic
#2A2EAD #AD2A70 #ADA92A #2AAD68
square
#2A2EAD #AD2A70 #ADA92A #2AAD68
split-complementary
#2A2EAD #AD682A #70AD2A
monochromatic
#12144B #1E217C #2A2EAD #4347D1 #7477DD
Accessibility & contrast
On white
10.04
#2A2EAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2A2EAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2EAD
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2EAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2EAD | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a2ead; /* rgb */ color: rgb(42, 46, 173); /* oklch */ color: oklch(39.7% 0.195 271.9);
Tailwind
colors: {
custom: {
50: '#7968c7',
500: '#2a2ead',
950: '#000000',
},
}SCSS
$custom: #2a2ead; $custom-light: #7968c7; $custom-dark: #000000;
JSON
{
"hex": "#2a2ead",
"rgb": {
"r": 42,
"g": 46,
"b": 173
},
"hsl": {
"h": 238.168,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.39713,
"c": 0.19534,
"h": 271.9
},
"luminance": 0.05463
}Semantic roles & 50–950 ramp
primary
#2A2EAD
secondary
#C5C26E
accent
#DF44E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82