#2A3AA5#2A3AA5
#2A3AA5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.172 H 270.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3AA5 |
|---|---|
| RGB | rgb(42, 58, 165) |
| HSL | hsl(232, 59%, 41%) |
| HSV | hsv(232, 75%, 65%) |
| CMYK | cmyk(74.5%, 64.8%, 0%, 35.3%) |
| CIE-LAB | lab(30.00, 31.79, -59.38) |
| CIE-LCH | lch(30.00, 67.36, 298.16°) |
| OKLab | oklab(40.91% 0.0005 -0.1717) |
| OKLCH | oklch(40.91% 0.172 270.2) |
| XYZ | xyz(9.2571, 6.2340, 36.3054) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.15
Blueberry
#464196
ΔE00 4.86
Blue Blue
#2242C7
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 5.69
Cobalt
#0047AB
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3AA5 #A5952A
analogous
#2A77A5 #2A3AA5 #572AA5
triadic
#2A3AA5 #A52A3A #3AA52A
tetradic
#2A3AA5 #A52A77 #A5952A #2AA557
square
#2A3AA5 #A52A77 #A5952A #2AA557
split-complementary
#2A3AA5 #A5572A #77A52A
monochromatic
#111843 #1E2974 #2A3AA5 #3E51CE #6F7DDA
Accessibility & contrast
On white
9.35
#2A3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A3AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3AA5
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3AA5 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3aa5; /* rgb */ color: rgb(42, 58, 165); /* oklch */ color: oklch(40.9% 0.172 270.2);
Tailwind
colors: {
custom: {
50: '#7670c1',
500: '#2a3aa5',
950: '#000000',
},
}SCSS
$custom: #2a3aa5; $custom-light: #7670c1; $custom-dark: #000000;
JSON
{
"hex": "#2a3aa5",
"rgb": {
"r": 42,
"g": 58,
"b": 165
},
"hsl": {
"h": 232.195,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.40914,
"c": 0.17166,
"h": 270.2
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#2A3AA5
secondary
#C1B669
accent
#CE45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81