#3952B5#3952B5
#3952B5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.159 H 268.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3952B5 |
|---|---|
| RGB | rgb(57, 82, 181) |
| HSL | hsl(228, 52%, 47%) |
| HSV | hsv(228, 69%, 71%) |
| CMYK | cmyk(68.5%, 54.7%, 0%, 29%) |
| CIE-LAB | lab(38.27, 23.98, -55.40) |
| CIE-LCH | lch(38.27, 60.37, 293.40°) |
| OKLab | oklab(47.68% -0.0031 -0.1594) |
| OKLCH | oklch(47.68% 0.159 268.9) |
| XYZ | xyz(13.0423, 10.2394, 44.9962) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.56
Cobalt
#0047AB
ΔE00 5.07
Blue Blue
#2242C7
ΔE00 5.51
Denim Blue
#3B5B92
ΔE00 6.06
Warm Blue
#4B57DB
ΔE00 6.17
Dusky Blue
#475F94
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3952B5 #B59C39
analogous
#3990B5 #3952B5 #5E39B5
triadic
#3952B5 #B53952 #52B539
tetradic
#3952B5 #B53990 #B59C39 #39B55E
square
#3952B5 #B53990 #B59C39 #39B55E
split-complementary
#3952B5 #B55E39 #90B539
monochromatic
#1C2858 #2A3D86 #3952B5 #5F75CD #8D9DDB
Accessibility & contrast
On white
6.89
#3952B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#3952B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3952B5
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3952B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3952B5 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0160B8
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3952b5; /* rgb */ color: rgb(57, 82, 181); /* oklch */ color: oklch(47.7% 0.159 268.9);
Tailwind
colors: {
custom: {
50: '#7e82cc',
500: '#3952b5',
950: '#000000',
},
}SCSS
$custom: #3952b5; $custom-light: #7e82cc; $custom-dark: #000000;
JSON
{
"hex": "#3952b5",
"rgb": {
"r": 57,
"g": 82,
"b": 181
},
"hsl": {
"h": 227.903,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.47682,
"c": 0.15939,
"h": 268.9
},
"luminance": 0.10241
}Semantic roles & 50–950 ramp
primary
#3952B5
secondary
#C6B984
accent
#BF4CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82