#3A52C4#3A52C4
#3A52C4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.180 H 269.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3A52C4 |
|---|---|
| RGB | rgb(58, 82, 196) |
| HSL | hsl(230, 54%, 50%) |
| HSV | hsv(230, 70%, 77%) |
| CMYK | cmyk(70.4%, 58.2%, 0%, 23.1%) |
| CIE-LAB | lab(39.44, 29.55, -62.27) |
| CIE-LCH | lch(39.44, 68.93, 295.38°) |
| OKLab | oklab(48.93% -0.0015 -0.1795) |
| OKLCH | oklch(48.93% 0.18 269.5) |
| XYZ | xyz(14.7226, 10.9182, 53.5454) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.25
Sapphire
#0F52BA
ΔE00 4.42
Blue Blue
#2242C7
ΔE00 4.86
Blue (survey)
#0343DF
ΔE00 5.39
Azul
#1D5DEC
ΔE00 6.14
Iris
#6258C4
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A52C4 #C4AC3A
analogous
#3A97C4 #3A52C4 #673AC4
triadic
#3A52C4 #C43A52 #52C43A
tetradic
#3A52C4 #C43A97 #C4AC3A #3AC467
square
#3A52C4 #C43A97 #C4AC3A #3AC467
split-complementary
#3A52C4 #C4673A #97C43A
monochromatic
#1E2A66 #2C3E95 #3A52C4 #697BD3 #98A5E0
Accessibility & contrast
On white
6.60
#3A52C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#3A52C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A52C4
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A52C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A52C4 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3a52c4; /* rgb */ color: rgb(58, 82, 196); /* oklch */ color: oklch(48.9% 0.180 269.5);
Tailwind
colors: {
custom: {
50: '#8282d7',
500: '#3a52c4',
950: '#000000',
},
}SCSS
$custom: #3a52c4; $custom-light: #8282d7; $custom-dark: #000000;
JSON
{
"hex": "#3a52c4",
"rgb": {
"r": 58,
"g": 82,
"b": 196
},
"hsl": {
"h": 229.565,
"s": 54.331,
"l": 49.804
},
"oklch": {
"l": 0.48929,
"c": 0.17955,
"h": 269.5
},
"luminance": 0.1092
}Semantic roles & 50–950 ramp
primary
#3A52C4
secondary
#CCC18E
accent
#C44ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83