#3A4AA2#3A4AA2
#3A4AA2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.143 H 271.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4AA2 |
|---|---|
| RGB | rgb(58, 74, 162) |
| HSL | hsl(231, 47%, 43%) |
| HSV | hsv(231, 64%, 64%) |
| CMYK | cmyk(64.2%, 54.3%, 0%, 36.5%) |
| CIE-LAB | lab(34.81, 22.51, -49.70) |
| CIE-LCH | lch(34.81, 54.56, 294.36°) |
| OKLab | oklab(44.66% 0.0041 -0.1427) |
| OKLCH | oklch(44.66% 0.143 271.7) |
| XYZ | xyz(10.7131, 8.4048, 35.2331) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.53
Cobalt
#0047AB
ΔE00 4.55
Cobalt (survey)
#1E488F
ΔE00 5.17
Sapphire
#0F52BA
ΔE00 5.76
Blue Blue
#2242C7
ΔE00 5.79
Sapphire (survey)
#2138AB
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4AA2 #A2923A
analogous
#3A7EA2 #3A4AA2 #5E3AA2
triadic
#3A4AA2 #A23A4A #4AA23A
tetradic
#3A4AA2 #A23A7E #A2923A #3AA25E
square
#3A4AA2 #A23A7E #A2923A #3AA25E
split-complementary
#3A4AA2 #A25E3A #7EA23A
monochromatic
#1A2148 #2A3575 #3A4AA2 #5767C3 #8490D3
Accessibility & contrast
On white
7.83
#3A4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#3A4AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4AA2
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4AA2 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3a4aa2; /* rgb */ color: rgb(58, 74, 162); /* oklch */ color: oklch(44.7% 0.143 271.7);
Tailwind
colors: {
custom: {
50: '#7b7cbe',
500: '#3a4aa2',
950: '#000000',
},
}SCSS
$custom: #3a4aa2; $custom-light: #7b7cbe; $custom-dark: #000000;
JSON
{
"hex": "#3a4aa2",
"rgb": {
"r": 58,
"g": 74,
"b": 162
},
"hsl": {
"h": 230.769,
"s": 47.273,
"l": 43.137
},
"oklch": {
"l": 0.44662,
"c": 0.14272,
"h": 271.7
},
"luminance": 0.08406
}Semantic roles & 50–950 ramp
primary
#3A4AA2
secondary
#BDB37B
accent
#C251D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81