#3A52B3#3A52B3
#3A52B3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.156 H 269.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3A52B3 |
|---|---|
| RGB | rgb(58, 82, 179) |
| HSL | hsl(228, 51%, 46%) |
| HSV | hsv(228, 68%, 70%) |
| CMYK | cmyk(67.6%, 54.2%, 0%, 29.8%) |
| CIE-LAB | lab(38.18, 23.41, -54.37) |
| CIE-LCH | lch(38.18, 59.20, 293.29°) |
| OKLab | oklab(47.58% -0.0022 -0.1563) |
| OKLCH | oklch(47.58% 0.156 269.2) |
| XYZ | xyz(12.8961, 10.1876, 43.9259) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.69
Cobalt
#0047AB
ΔE00 5.07
Blue Blue
#2242C7
ΔE00 5.65
Denim Blue
#3B5B92
ΔE00 5.91
Warm Blue
#4B57DB
ΔE00 6.37
Dusky Blue
#475F94
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A52B3 #B39B3A
analogous
#3A8FB3 #3A52B3 #5F3AB3
triadic
#3A52B3 #B33A52 #52B33A
tetradic
#3A52B3 #B33A8F #B39B3A #3AB35F
square
#3A52B3 #B33A8F #B39B3A #3AB35F
split-complementary
#3A52B3 #B35F3A #8FB33A
monochromatic
#1C2857 #2B3D85 #3A52B3 #5F74CB #8D9DDA
Accessibility & contrast
On white
6.91
#3A52B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#3A52B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A52B3
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A52B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A52B3 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A60B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3a52b3; /* rgb */ color: rgb(58, 82, 179); /* oklch */ color: oklch(47.6% 0.156 269.2);
Tailwind
colors: {
custom: {
50: '#7e82ca',
500: '#3a52b3',
950: '#000000',
},
}SCSS
$custom: #3a52b3; $custom-light: #7e82ca; $custom-dark: #000000;
JSON
{
"hex": "#3a52b3",
"rgb": {
"r": 58,
"g": 82,
"b": 179
},
"hsl": {
"h": 228.099,
"s": 51.055,
"l": 46.471
},
"oklch": {
"l": 0.47582,
"c": 0.15632,
"h": 269.2
},
"luminance": 0.10189
}Semantic roles & 50–950 ramp
primary
#3A52B3
secondary
#C5B884
accent
#BF4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82