#2A3AA1#2A3AA1
#2A3AA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.166 H 270.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3AA1 |
|---|---|
| RGB | rgb(42, 58, 161) |
| HSL | hsl(232, 59%, 40%) |
| HSV | hsv(232, 74%, 63%) |
| CMYK | cmyk(73.9%, 64%, 0%, 36.9%) |
| CIE-LAB | lab(29.64, 30.31, -57.55) |
| CIE-LCH | lch(29.64, 65.05, 297.78°) |
| OKLab | oklab(40.54% 0.0006 -0.1663) |
| OKLCH | oklch(40.54% 0.166 270.2) |
| XYZ | xyz(8.8987, 6.0906, 34.4179) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.62
Blueberry
#464196
ΔE00 4.66
Blue Blue
#2242C7
ΔE00 5.46
Cobalt
#0047AB
ΔE00 5.73
Ocean Blue
#4F42B5
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3AA1 #A1912A
analogous
#2A75A1 #2A3AA1 #562AA1
triadic
#2A3AA1 #A12A3A #3AA12A
tetradic
#2A3AA1 #A12A75 #A1912A #2AA156
square
#2A3AA1 #A12A75 #A1912A #2AA156
split-complementary
#2A3AA1 #A1562A #75A12A
monochromatic
#111740 #1D2970 #2A3AA1 #3C4FCC #6D7BD9
Accessibility & contrast
On white
9.47
#2A3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A3AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3AA1
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3AA1 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3aa1; /* rgb */ color: rgb(42, 58, 161); /* oklch */ color: oklch(40.5% 0.166 270.2);
Tailwind
colors: {
custom: {
50: '#7570be',
500: '#2a3aa1',
950: '#000000',
},
}SCSS
$custom: #2a3aa1; $custom-light: #7570be; $custom-dark: #000000;
JSON
{
"hex": "#2a3aa1",
"rgb": {
"r": 42,
"g": 58,
"b": 161
},
"hsl": {
"h": 231.933,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.40544,
"c": 0.16629,
"h": 270.2
},
"luminance": 0.06092
}Semantic roles & 50–950 ramp
primary
#2A3AA1
secondary
#C0B467
accent
#CD46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81