#2A3EAD#2A3EAD
#2A3EAD is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.178 H 269.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EAD |
|---|---|
| RGB | rgb(42, 62, 173) |
| HSL | hsl(231, 61%, 42%) |
| HSV | hsv(231, 76%, 68%) |
| CMYK | cmyk(75.7%, 64.2%, 0%, 32.2%) |
| CIE-LAB | lab(31.70, 32.14, -61.39) |
| CIE-LCH | lch(31.70, 69.29, 297.63°) |
| OKLab | oklab(42.39% -0.0025 -0.1775) |
| OKLCH | oklch(42.39% 0.178 269.2) |
| XYZ | xyz(10.2177, 6.9535, 40.3307) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.77
Blue Blue
#2242C7
ΔE00 3.55
Cobalt
#0047AB
ΔE00 4.86
Ocean Blue
#4F42B5
ΔE00 5.10
Blueberry
#464196
ΔE00 5.24
Blue (survey)
#0343DF
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EAD #AD992A
analogous
#2A7FAD #2A3EAD #582AAD
triadic
#2A3EAD #AD2A3E #3EAD2A
tetradic
#2A3EAD #AD2A7F #AD992A #2AAD58
square
#2A3EAD #AD2A7F #AD992A #2AAD58
split-complementary
#2A3EAD #AD582A #7FAD2A
monochromatic
#121B4B #1E2C7C #2A3EAD #4359D1 #7484DD
Accessibility & contrast
On white
8.78
#2A3EAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2A3EAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EAD
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EAD | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a3ead; /* rgb */ color: rgb(42, 62, 173); /* oklch */ color: oklch(42.4% 0.178 269.2);
Tailwind
colors: {
custom: {
50: '#7873c6',
500: '#2a3ead',
950: '#000000',
},
}SCSS
$custom: #2a3ead; $custom-light: #7873c6; $custom-dark: #000000;
JSON
{
"hex": "#2a3ead",
"rgb": {
"r": 42,
"g": 62,
"b": 173
},
"hsl": {
"h": 230.84,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.42387,
"c": 0.17753,
"h": 269.2
},
"luminance": 0.06955
}Semantic roles & 50–950 ramp
primary
#2A3EAD
secondary
#C5B86E
accent
#CC44E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82