#2A3AAD#2A3AAD
#2A3AAD is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.182 H 270.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3AAD |
|---|---|
| RGB | rgb(42, 58, 173) |
| HSL | hsl(233, 61%, 42%) |
| HSV | hsv(233, 76%, 68%) |
| CMYK | cmyk(75.7%, 66.5%, 0%, 32.2%) |
| CIE-LAB | lab(30.72, 34.72, -62.99) |
| CIE-LCH | lch(30.72, 71.93, 298.86°) |
| OKLab | oklab(41.67% 0 -0.1822) |
| OKLCH | oklch(41.67% 0.182 270) |
| XYZ | xyz(10.0081, 6.5344, 40.2609) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.94
Blue Blue
#2242C7
ΔE00 4.03
Ocean Blue
#4F42B5
ΔE00 5.13
Blueberry
#464196
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.94
Blue With A Hint Of Purple
#533CC6
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3AAD #AD9D2A
analogous
#2A7BAD #2A3AAD #5C2AAD
triadic
#2A3AAD #AD2A3A #3AAD2A
tetradic
#2A3AAD #AD2A7B #AD9D2A #2AAD5C
square
#2A3AAD #AD2A7B #AD9D2A #2AAD5C
split-complementary
#2A3AAD #AD5C2A #7BAD2A
monochromatic
#12194B #1E297C #2A3AAD #4354D1 #7481DD
Accessibility & contrast
On white
9.10
#2A3AAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2A3AAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3AAD
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3AAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3AAD | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a3aad; /* rgb */ color: rgb(42, 58, 173); /* oklch */ color: oklch(41.7% 0.182 270.0);
Tailwind
colors: {
custom: {
50: '#7870c6',
500: '#2a3aad',
950: '#000000',
},
}SCSS
$custom: #2a3aad; $custom-light: #7870c6; $custom-dark: #000000;
JSON
{
"hex": "#2a3aad",
"rgb": {
"r": 42,
"g": 58,
"b": 173
},
"hsl": {
"h": 232.672,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.4167,
"c": 0.18223,
"h": 270
},
"luminance": 0.06535
}Semantic roles & 50–950 ramp
primary
#2A3AAD
secondary
#C5BA6E
accent
#D044E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82