#3952B1#3952B1
#3952B1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.154 H 268.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3952B1 |
|---|---|
| RGB | rgb(57, 82, 177) |
| HSL | hsl(228, 51%, 46%) |
| HSV | hsv(228, 68%, 69%) |
| CMYK | cmyk(67.8%, 53.7%, 0%, 30.6%) |
| CIE-LAB | lab(37.98, 22.52, -53.51) |
| CIE-LCH | lch(37.98, 58.06, 292.83°) |
| OKLab | oklab(47.38% -0.0033 -0.1538) |
| OKLCH | oklch(47.38% 0.154 268.8) |
| XYZ | xyz(12.6377, 10.0776, 42.8656) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.55
Cobalt
#0047AB
ΔE00 4.89
Denim Blue
#3B5B92
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.82
Dusky Blue
#475F94
ΔE00 6.27
Cobalt (survey)
#1E488F
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3952B1 #B19839
analogous
#398EB1 #3952B1 #5C39B1
triadic
#3952B1 #B13952 #52B139
tetradic
#3952B1 #B1398E #B19839 #39B15C
square
#3952B1 #B1398E #B19839 #39B15C
split-complementary
#3952B1 #B15C39 #8EB139
monochromatic
#1B2754 #2A3D83 #3952B1 #5D73CB #8B9BDA
Accessibility & contrast
On white
6.96
#3952B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#3952B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3952B1
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3952B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3952B1 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5FB4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3952b1; /* rgb */ color: rgb(57, 82, 177); /* oklch */ color: oklch(47.4% 0.154 268.8);
Tailwind
colors: {
custom: {
50: '#7d82c9',
500: '#3952b1',
950: '#000000',
},
}SCSS
$custom: #3952b1; $custom-light: #7d82c9; $custom-dark: #000000;
JSON
{
"hex": "#3952b1",
"rgb": {
"r": 57,
"g": 82,
"b": 177
},
"hsl": {
"h": 227.5,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.47375,
"c": 0.15383,
"h": 268.8
},
"luminance": 0.10079
}Semantic roles & 50–950 ramp
primary
#3952B1
secondary
#C4B682
accent
#BD4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82