#3A4AA9#3A4AA9
#3A4AA9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.153 H 271.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4AA9 |
|---|---|
| RGB | rgb(58, 74, 169) |
| HSL | hsl(231, 49%, 45%) |
| HSV | hsv(231, 66%, 66%) |
| CMYK | cmyk(65.7%, 56.2%, 0%, 33.7%) |
| CIE-LAB | lab(35.32, 25.02, -53.06) |
| CIE-LCH | lch(35.32, 58.67, 295.25°) |
| OKLab | oklab(45.21% 0.0045 -0.1526) |
| OKLCH | oklch(45.21% 0.153 271.7) |
| XYZ | xyz(11.3527, 8.6607, 38.6018) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.51
Blue Blue
#2242C7
ΔE00 4.86
Blueberry
#464196
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4AA9 #A9993A
analogous
#3A82A9 #3A4AA9 #613AA9
triadic
#3A4AA9 #A93A4A #4AA93A
tetradic
#3A4AA9 #A93A82 #A9993A #3AA961
square
#3A4AA9 #A93A82 #A9993A #3AA961
split-complementary
#3A4AA9 #A9613A #82A93A
monochromatic
#1B224E #2A367B #3A4AA9 #5A6AC6 #8793D6
Accessibility & contrast
On white
7.69
#3A4AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#3A4AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4AA9
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4AA9 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a4aa9; /* rgb */ color: rgb(58, 74, 169); /* oklch */ color: oklch(45.2% 0.153 271.7);
Tailwind
colors: {
custom: {
50: '#7d7cc3',
500: '#3a4aa9',
950: '#000000',
},
}SCSS
$custom: #3a4aa9; $custom-light: #7d7cc3; $custom-dark: #000000;
JSON
{
"hex": "#3a4aa9",
"rgb": {
"r": 58,
"g": 74,
"b": 169
},
"hsl": {
"h": 231.351,
"s": 48.899,
"l": 44.51
},
"oklch": {
"l": 0.45207,
"c": 0.15263,
"h": 271.7
},
"luminance": 0.08662
}Semantic roles & 50–950 ramp
primary
#3A4AA9
secondary
#C0B77F
accent
#C54FD8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82