#3A52CC#3A52CC
#3A52CC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.190 H 269.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3A52CC |
|---|---|
| RGB | rgb(58, 82, 204) |
| HSL | hsl(230, 59%, 51%) |
| HSV | hsv(230, 72%, 80%) |
| CMYK | cmyk(71.6%, 59.8%, 0%, 20%) |
| CIE-LAB | lab(40.07, 32.42, -65.89) |
| CIE-LCH | lch(40.07, 73.44, 296.20°) |
| OKLab | oklab(49.59% -0.0014 -0.1902) |
| OKLCH | oklch(49.59% 0.19 269.6) |
| XYZ | xyz(15.6576, 11.2922, 58.4695) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.37
Blue (survey)
#0343DF
ΔE00 4.88
Blue Blue
#2242C7
ΔE00 4.91
Sapphire
#0F52BA
ΔE00 5.10
Azul
#1D5DEC
ΔE00 5.46
Electric Blue
#0652FF
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A52CC #CCB43A
analogous
#3A9BCC #3A52CC #6B3ACC
triadic
#3A52CC #CC3A52 #52CC3A
tetradic
#3A52CC #CC3A9B #CCB43A #3ACC6B
square
#3A52CC #CC3A9B #CCB43A #3ACC6B
split-complementary
#3A52CC #CC6B3A #9BCC3A
monochromatic
#1D2A6F #293DA0 #3A52CC #6B7DD9 #9BA7E5
Accessibility & contrast
On white
6.44
#3A52CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#3A52CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A52CC
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A52CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A52CC | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a52cc; /* rgb */ color: rgb(58, 82, 204); /* oklch */ color: oklch(49.6% 0.190 269.6);
Tailwind
colors: {
custom: {
50: '#8382dc',
500: '#3a52cc',
950: '#000000',
},
}SCSS
$custom: #3a52cc; $custom-light: #8382dc; $custom-dark: #000000;
JSON
{
"hex": "#3a52cc",
"rgb": {
"r": 58,
"g": 82,
"b": 204
},
"hsl": {
"h": 230.137,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.4959,
"c": 0.19018,
"h": 269.6
},
"luminance": 0.11294
}Semantic roles & 50–950 ramp
primary
#3A52CC
secondary
#D1C791
accent
#C846E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83