#2A3AA7#2A3AA7
#2A3AA7 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.174 H 270.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3AA7 |
|---|---|
| RGB | rgb(42, 58, 167) |
| HSL | hsl(232, 60%, 41%) |
| HSV | hsv(232, 75%, 65%) |
| CMYK | cmyk(74.9%, 65.3%, 0%, 34.5%) |
| CIE-LAB | lab(30.18, 32.53, -60.29) |
| CIE-LCH | lch(30.18, 68.51, 298.34°) |
| OKLab | oklab(41.1% 0.0004 -0.1743) |
| OKLCH | oklch(41.1% 0.174 270.1) |
| XYZ | xyz(9.4406, 6.3074, 37.2716) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.98
Blue Blue
#2242C7
ΔE00 4.72
Blueberry
#464196
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 5.53
Cobalt
#0047AB
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3AA7 #A7972A
analogous
#2A78A7 #2A3AA7 #582AA7
triadic
#2A3AA7 #A72A3A #3AA72A
tetradic
#2A3AA7 #A72A78 #A7972A #2AA758
square
#2A3AA7 #A72A78 #A7972A #2AA758
split-complementary
#2A3AA7 #A7582A #78A72A
monochromatic
#111845 #1E2976 #2A3AA7 #3F52CF #707EDB
Accessibility & contrast
On white
9.29
#2A3AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2A3AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3AA7
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3AA7 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3aa7; /* rgb */ color: rgb(42, 58, 167); /* oklch */ color: oklch(41.1% 0.174 270.1);
Tailwind
colors: {
custom: {
50: '#7770c2',
500: '#2a3aa7',
950: '#000000',
},
}SCSS
$custom: #2a3aa7; $custom-light: #7770c2; $custom-dark: #000000;
JSON
{
"hex": "#2a3aa7",
"rgb": {
"r": 42,
"g": 58,
"b": 167
},
"hsl": {
"h": 232.32,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.41101,
"c": 0.17433,
"h": 270.1
},
"luminance": 0.06308
}Semantic roles & 50–950 ramp
primary
#2A3AA7
secondary
#C2B76B
accent
#CF45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81