#3952C4#3952C4
#3952C4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.180 H 269.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #3952C4 |
|---|---|
| RGB | rgb(57, 82, 196) |
| HSL | hsl(229, 55%, 50%) |
| HSV | hsv(229, 71%, 77%) |
| CMYK | cmyk(70.9%, 58.2%, 0%, 23.1%) |
| CIE-LAB | lab(39.39, 29.42, -62.36) |
| CIE-LCH | lch(39.39, 68.95, 295.25°) |
| OKLab | oklab(48.88% -0.0025 -0.1798) |
| OKLCH | oklch(48.88% 0.18 269.2) |
| XYZ | xyz(14.6650, 10.8885, 53.5427) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.30
Warm Blue
#4B57DB
ΔE00 4.32
Blue Blue
#2242C7
ΔE00 4.85
Blue (survey)
#0343DF
ΔE00 5.38
Azul
#1D5DEC
ΔE00 6.12
Cobalt
#0047AB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3952C4 #C4AB39
analogous
#3997C4 #3952C4 #6639C4
triadic
#3952C4 #C43952 #52C439
tetradic
#3952C4 #C43997 #C4AB39 #39C466
square
#3952C4 #C43997 #C4AB39 #39C466
split-complementary
#3952C4 #C46639 #97C439
monochromatic
#1D2A65 #2B3E95 #3952C4 #677BD3 #97A4E1
Accessibility & contrast
On white
6.61
#3952C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#3952C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3952C4
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3952C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3952C4 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 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: #3952c4; /* rgb */ color: rgb(57, 82, 196); /* oklch */ color: oklch(48.9% 0.180 269.2);
Tailwind
colors: {
custom: {
50: '#8182d7',
500: '#3952c4',
950: '#000000',
},
}SCSS
$custom: #3952c4; $custom-light: #8182d7; $custom-dark: #000000;
JSON
{
"hex": "#3952c4",
"rgb": {
"r": 57,
"g": 82,
"b": 196
},
"hsl": {
"h": 229.209,
"s": 54.941,
"l": 49.608
},
"oklch": {
"l": 0.48878,
"c": 0.17983,
"h": 269.2
},
"luminance": 0.1089
}Semantic roles & 50–950 ramp
primary
#3952C4
secondary
#CCC18D
accent
#C44ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83