#3A52AA#3A52AA
#3A52AA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.144 H 268.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3A52AA |
|---|---|
| RGB | rgb(58, 82, 170) |
| HSL | hsl(227, 49%, 45%) |
| HSV | hsv(227, 66%, 67%) |
| CMYK | cmyk(65.9%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(37.55, 20.14, -50.06) |
| CIE-LCH | lch(37.55, 53.96, 291.92°) |
| OKLab | oklab(46.9% -0.003 -0.1436) |
| OKLCH | oklch(46.9% 0.144 268.8) |
| XYZ | xyz(12.0154, 9.8353, 39.2876) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.89
Cobalt
#0047AB
ΔE00 4.84
Denim Blue
#3B5B92
ΔE00 5.00
Dusky Blue
#475F94
ΔE00 5.68
Cobalt (survey)
#1E488F
ΔE00 5.73
Dusk Blue
#26538D
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A52AA #AA923A
analogous
#3A8AAA #3A52AA #5A3AAA
triadic
#3A52AA #AA3A52 #52AA3A
tetradic
#3A52AA #AA3A8A #AA923A #3AAA5A
square
#3A52AA #AA3A8A #AA923A #3AAA5A
split-complementary
#3A52AA #AA5A3A #8AAA3A
monochromatic
#1B264F #2A3C7C #3A52AA #5A72C7 #8899D6
Accessibility & contrast
On white
7.08
#3A52AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#3A52AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A52AA
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A52AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A52AA | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5EAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3a52aa; /* rgb */ color: rgb(58, 82, 170); /* oklch */ color: oklch(46.9% 0.144 268.8);
Tailwind
colors: {
custom: {
50: '#7c82c4',
500: '#3a52aa',
950: '#000000',
},
}SCSS
$custom: #3a52aa; $custom-light: #7c82c4; $custom-dark: #000000;
JSON
{
"hex": "#3a52aa",
"rgb": {
"r": 58,
"g": 82,
"b": 170
},
"hsl": {
"h": 227.143,
"s": 49.123,
"l": 44.706
},
"oklch": {
"l": 0.46904,
"c": 0.14366,
"h": 268.8
},
"luminance": 0.09836
}Semantic roles & 50–950 ramp
primary
#3A52AA
secondary
#C1B37F
accent
#BB4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82