#3956C2#3956C2
#3956C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.172 H 268.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3956C2 |
|---|---|
| RGB | rgb(57, 86, 194) |
| HSL | hsl(227, 55%, 49%) |
| HSV | hsv(227, 71%, 76%) |
| CMYK | cmyk(70.6%, 55.7%, 0%, 23.9%) |
| CIE-LAB | lab(40.28, 26.11, -59.76) |
| CIE-LCH | lch(40.28, 65.21, 293.61°) |
| OKLab | oklab(49.49% -0.0057 -0.1721) |
| OKLCH | oklch(49.49% 0.172 268.1) |
| XYZ | xyz(14.7494, 11.4190, 52.4553) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.87
Warm Blue
#4B57DB
ΔE00 4.54
Azul
#1D5DEC
ΔE00 5.60
Denim
#1560BD
ΔE00 6.12
Blue Blue
#2242C7
ΔE00 6.14
Iris
#6258C4
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3956C2 #C2A539
analogous
#399BC2 #3956C2 #6039C2
triadic
#3956C2 #C23956 #56C239
tetradic
#3956C2 #C2399B #C2A539 #39C260
square
#3956C2 #C2399B #C2A539 #39C260
split-complementary
#3956C2 #C26039 #9BC239
monochromatic
#1D2C63 #2B4193 #3956C2 #667DD2 #95A5E0
Accessibility & contrast
On white
6.39
#3956C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#3956C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3956C2
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3956C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3956C2 | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3956c2; /* rgb */ color: rgb(57, 86, 194); /* oklch */ color: oklch(49.5% 0.172 268.1);
Tailwind
colors: {
custom: {
50: '#8185d5',
500: '#3956c2',
950: '#000000',
},
}SCSS
$custom: #3956c2; $custom-light: #8185d5; $custom-dark: #000000;
JSON
{
"hex": "#3956c2",
"rgb": {
"r": 57,
"g": 86,
"b": 194
},
"hsl": {
"h": 227.299,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.49493,
"c": 0.17219,
"h": 268.1
},
"luminance": 0.1142
}Semantic roles & 50–950 ramp
primary
#3956C2
secondary
#CBBE8B
accent
#BF4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83