#3956C1#3956C1
#3956C1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.171 H 268.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3956C1 |
|---|---|
| RGB | rgb(57, 86, 193) |
| HSL | hsl(227, 54%, 49%) |
| HSV | hsv(227, 70%, 76%) |
| CMYK | cmyk(70.5%, 55.4%, 0%, 24.3%) |
| CIE-LAB | lab(40.20, 25.75, -59.29) |
| CIE-LCH | lch(40.20, 64.64, 293.47°) |
| OKLab | oklab(49.41% -0.0057 -0.1707) |
| OKLCH | oklch(49.41% 0.171 268.1) |
| XYZ | xyz(14.6374, 11.3742, 51.8658) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.80
Warm Blue
#4B57DB
ΔE00 4.67
Azul
#1D5DEC
ΔE00 5.71
Denim
#1560BD
ΔE00 6.08
Blue Blue
#2242C7
ΔE00 6.16
Cobalt
#0047AB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3956C1 #C1A439
analogous
#399AC1 #3956C1 #6039C1
triadic
#3956C1 #C13956 #56C139
tetradic
#3956C1 #C1399A #C1A439 #39C160
square
#3956C1 #C1399A #C1A439 #39C160
split-complementary
#3956C1 #C16039 #9AC139
monochromatic
#1D2C63 #2B4192 #3956C1 #667DD2 #95A5E0
Accessibility & contrast
On white
6.41
#3956C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#3956C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3956C1
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3956C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3956C1 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3956c1; /* rgb */ color: rgb(57, 86, 193); /* oklch */ color: oklch(49.4% 0.171 268.1);
Tailwind
colors: {
custom: {
50: '#8085d4',
500: '#3956c1',
950: '#000000',
},
}SCSS
$custom: #3956c1; $custom-light: #8085d4; $custom-dark: #000000;
JSON
{
"hex": "#3956c1",
"rgb": {
"r": 57,
"g": 86,
"b": 193
},
"hsl": {
"h": 227.206,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.49414,
"c": 0.17084,
"h": 268.1
},
"luminance": 0.11376
}Semantic roles & 50–950 ramp
primary
#3956C1
secondary
#CBBD8B
accent
#BE4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83