#3A4AAE#3A4AAE
#3A4AAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.160 H 271.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4AAE |
|---|---|
| RGB | rgb(58, 74, 174) |
| HSL | hsl(232, 50%, 45%) |
| HSV | hsv(232, 67%, 68%) |
| CMYK | cmyk(66.7%, 57.5%, 0%, 31.8%) |
| CIE-LAB | lab(35.70, 26.82, -55.43) |
| CIE-LCH | lch(35.70, 61.58, 295.82°) |
| OKLab | oklab(45.61% 0.0046 -0.1595) |
| OKLCH | oklch(45.61% 0.16 271.7) |
| XYZ | xyz(11.8311, 8.8520, 41.1213) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.63
Ocean Blue
#4F42B5
ΔE00 4.87
Blueberry
#464196
ΔE00 5.23
Sapphire
#0F52BA
ΔE00 5.32
Sapphire (survey)
#2138AB
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4AAE #AE9E3A
analogous
#3A84AE #3A4AAE #643AAE
triadic
#3A4AAE #AE3A4A #4AAE3A
tetradic
#3A4AAE #AE3A84 #AE9E3A #3AAE64
square
#3A4AAE #AE3A84 #AE9E3A #3AAE64
split-complementary
#3A4AAE #AE643A #84AE3A
monochromatic
#1B2352 #2B3680 #3A4AAE #5C6BC9 #8A95D8
Accessibility & contrast
On white
7.58
#3A4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#3A4AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4AAE
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4AAE | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3a4aae; /* rgb */ color: rgb(58, 74, 174); /* oklch */ color: oklch(45.6% 0.160 271.7);
Tailwind
colors: {
custom: {
50: '#7e7cc7',
500: '#3a4aae',
950: '#000000',
},
}SCSS
$custom: #3a4aae; $custom-light: #7e7cc7; $custom-dark: #000000;
JSON
{
"hex": "#3a4aae",
"rgb": {
"r": 58,
"g": 74,
"b": 174
},
"hsl": {
"h": 231.724,
"s": 50,
"l": 45.49
},
"oklch": {
"l": 0.45606,
"c": 0.15959,
"h": 271.7
},
"luminance": 0.08853
}Semantic roles & 50–950 ramp
primary
#3A4AAE
secondary
#C2B981
accent
#C64EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82