#3A52B2#3A52B2
#3A52B2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.155 H 269.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3A52B2 |
|---|---|
| RGB | rgb(58, 82, 178) |
| HSL | hsl(228, 51%, 46%) |
| HSV | hsv(228, 67%, 70%) |
| CMYK | cmyk(67.4%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(38.11, 23.04, -53.90) |
| CIE-LCH | lch(38.11, 58.62, 293.15°) |
| OKLab | oklab(47.51% -0.0023 -0.1549) |
| OKLCH | oklch(47.51% 0.155 269.2) |
| XYZ | xyz(12.7954, 10.1473, 43.3952) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.69
Cobalt
#0047AB
ΔE00 5.03
Blue Blue
#2242C7
ΔE00 5.73
Denim Blue
#3B5B92
ΔE00 5.80
Dusky Blue
#475F94
ΔE00 6.37
Warm Blue
#4B57DB
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A52B2 #B29A3A
analogous
#3A8EB2 #3A52B2 #5E3AB2
triadic
#3A52B2 #B23A52 #52B23A
tetradic
#3A52B2 #B23A8E #B29A3A #3AB25E
square
#3A52B2 #B23A8E #B29A3A #3AB25E
split-complementary
#3A52B2 #B25E3A #8EB23A
monochromatic
#1C2756 #2B3D84 #3A52B2 #5F74CB #8D9CDA
Accessibility & contrast
On white
6.93
#3A52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#3A52B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A52B2
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A52B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A52B2 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D5FB5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3a52b2; /* rgb */ color: rgb(58, 82, 178); /* oklch */ color: oklch(47.5% 0.155 269.2);
Tailwind
colors: {
custom: {
50: '#7e82ca',
500: '#3a52b2',
950: '#000000',
},
}SCSS
$custom: #3a52b2; $custom-light: #7e82ca; $custom-dark: #000000;
JSON
{
"hex": "#3a52b2",
"rgb": {
"r": 58,
"g": 82,
"b": 178
},
"hsl": {
"h": 228,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.47505,
"c": 0.15492,
"h": 269.2
},
"luminance": 0.10148
}Semantic roles & 50–950 ramp
primary
#3A52B2
secondary
#C4B783
accent
#BE4DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82