#3957CE#3957CE
#3957CE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.187 H 268.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3957CE |
|---|---|
| RGB | rgb(57, 87, 206) |
| HSL | hsl(228, 60%, 52%) |
| HSV | hsv(228, 72%, 81%) |
| CMYK | cmyk(72.3%, 57.8%, 0%, 19.2%) |
| CIE-LAB | lab(41.44, 29.82, -64.82) |
| CIE-LCH | lch(41.44, 71.35, 294.71°) |
| OKLab | oklab(50.65% -0.006 -0.187) |
| OKLCH | oklch(50.65% 0.187 268.2) |
| XYZ | xyz(16.2323, 12.1408, 59.8685) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.19
Azul
#1D5DEC
ΔE00 4.21
Sapphire
#0F52BA
ΔE00 4.94
Electric Blue
#0652FF
ΔE00 5.66
Blue (survey)
#0343DF
ΔE00 6.15
Iris
#6258C4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3957CE #CEB039
analogous
#39A2CE #3957CE #6539CE
triadic
#3957CE #CE3957 #57CE39
tetradic
#3957CE #CE39A2 #CEB039 #39CE65
square
#3957CE #CE39A2 #CEB039 #39CE65
split-complementary
#3957CE #CE6539 #A2CE39
monochromatic
#1C2D71 #2841A2 #3957CE #6A81DA #9BAAE6
Accessibility & contrast
On white
6.13
#3957CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#3957CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3957CE
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3957CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3957CE | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #3957ce; /* rgb */ color: rgb(57, 87, 206); /* oklch */ color: oklch(50.6% 0.187 268.2);
Tailwind
colors: {
custom: {
50: '#8386de',
500: '#3957ce',
950: '#000000',
},
}SCSS
$custom: #3957ce; $custom-light: #8386de; $custom-dark: #000000;
JSON
{
"hex": "#3957ce",
"rgb": {
"r": 57,
"g": 87,
"b": 206
},
"hsl": {
"h": 227.919,
"s": 60.324,
"l": 51.569
},
"oklch": {
"l": 0.50647,
"c": 0.18706,
"h": 268.2
},
"luminance": 0.12142
}Semantic roles & 50–950 ramp
primary
#3957CE
secondary
#D2C591
accent
#C344E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83