#3A4AAB#3A4AAB
#3A4AAB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.155 H 271.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4AAB |
|---|---|
| RGB | rgb(58, 74, 171) |
| HSL | hsl(232, 49%, 45%) |
| HSV | hsv(232, 66%, 67%) |
| CMYK | cmyk(66.1%, 56.7%, 0%, 32.9%) |
| CIE-LAB | lab(35.47, 25.74, -54.01) |
| CIE-LCH | lch(35.47, 59.83, 295.48°) |
| OKLab | oklab(45.37% 0.0046 -0.1553) |
| OKLCH | oklch(45.37% 0.155 271.7) |
| XYZ | xyz(11.5419, 8.7363, 39.5982) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.54
Blue Blue
#2242C7
ΔE00 4.61
Blueberry
#464196
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.09
Sapphire
#0F52BA
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4AAB #AB9B3A
analogous
#3A83AB #3A4AAB #623AAB
triadic
#3A4AAB #AB3A4A #4AAB3A
tetradic
#3A4AAB #AB3A83 #AB9B3A #3AAB62
square
#3A4AAB #AB3A83 #AB9B3A #3AAB62
split-complementary
#3A4AAB #AB623A #83AB3A
monochromatic
#1B2250 #2A367D #3A4AAB #5B6AC7 #8994D7
Accessibility & contrast
On white
7.64
#3A4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#3A4AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4AAB
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4AAB | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a4aab; /* rgb */ color: rgb(58, 74, 171); /* oklch */ color: oklch(45.4% 0.155 271.7);
Tailwind
colors: {
custom: {
50: '#7d7cc5',
500: '#3a4aab',
950: '#000000',
},
}SCSS
$custom: #3a4aab; $custom-light: #7d7cc5; $custom-dark: #000000;
JSON
{
"hex": "#3a4aab",
"rgb": {
"r": 58,
"g": 74,
"b": 171
},
"hsl": {
"h": 231.504,
"s": 49.345,
"l": 44.902
},
"oklch": {
"l": 0.45366,
"c": 0.15542,
"h": 271.7
},
"luminance": 0.08737
}Semantic roles & 50–950 ramp
primary
#3A4AAB
secondary
#C1B880
accent
#C54FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82