#3A52AE#3A52AE
#3A52AE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.149 H 269.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3A52AE |
|---|---|
| RGB | rgb(58, 82, 174) |
| HSL | hsl(228, 50%, 45%) |
| HSV | hsv(228, 67%, 68%) |
| CMYK | cmyk(66.7%, 52.9%, 0%, 31.8%) |
| CIE-LAB | lab(37.82, 21.59, -51.99) |
| CIE-LCH | lch(37.82, 56.30, 292.55°) |
| OKLab | oklab(47.2% -0.0026 -0.1493) |
| OKLCH | oklch(47.2% 0.149 269) |
| XYZ | xyz(12.3996, 9.9890, 41.3108) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.75
Cobalt
#0047AB
ΔE00 4.90
Denim Blue
#3B5B92
ΔE00 5.39
Dusky Blue
#475F94
ΔE00 6.01
Blue Blue
#2242C7
ΔE00 6.08
Cobalt (survey)
#1E488F
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A52AE #AE963A
analogous
#3A8CAE #3A52AE #5C3AAE
triadic
#3A52AE #AE3A52 #52AE3A
tetradic
#3A52AE #AE3A8C #AE963A #3AAE5C
square
#3A52AE #AE3A8C #AE963A #3AAE5C
split-complementary
#3A52AE #AE5C3A #8CAE3A
monochromatic
#1B2752 #2B3C80 #3A52AE #5C73C9 #8A9AD8
Accessibility & contrast
On white
7.00
#3A52AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#3A52AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A52AE
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A52AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A52AE | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175FB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3a52ae; /* rgb */ color: rgb(58, 82, 174); /* oklch */ color: oklch(47.2% 0.149 269.0);
Tailwind
colors: {
custom: {
50: '#7d82c7',
500: '#3a52ae',
950: '#000000',
},
}SCSS
$custom: #3a52ae; $custom-light: #7d82c7; $custom-dark: #000000;
JSON
{
"hex": "#3a52ae",
"rgb": {
"r": 58,
"g": 82,
"b": 174
},
"hsl": {
"h": 227.586,
"s": 50,
"l": 45.49
},
"oklch": {
"l": 0.47202,
"c": 0.14931,
"h": 269
},
"luminance": 0.0999
}Semantic roles & 50–950 ramp
primary
#3A52AE
secondary
#C2B581
accent
#BD4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82