#3957C5#3957C5
#3957C5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.175 H 267.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3957C5 |
|---|---|
| RGB | rgb(57, 87, 197) |
| HSL | hsl(227, 55%, 50%) |
| HSV | hsv(227, 71%, 77%) |
| CMYK | cmyk(71.1%, 55.8%, 0%, 22.7%) |
| CIE-LAB | lab(40.76, 26.56, -60.71) |
| CIE-LCH | lch(40.76, 66.27, 293.63°) |
| OKLab | oklab(49.93% -0.0063 -0.1749) |
| OKLCH | oklch(49.93% 0.175 267.9) |
| XYZ | xyz(15.1701, 11.7159, 54.2744) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.10
Warm Blue
#4B57DB
ΔE00 4.23
Azul
#1D5DEC
ΔE00 5.12
Denim
#1560BD
ΔE00 6.00
Blue Blue
#2242C7
ΔE00 6.41
Iris
#6258C4
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3957C5 #C5A739
analogous
#399DC5 #3957C5 #6139C5
triadic
#3957C5 #C53957 #57C539
tetradic
#3957C5 #C5399D #C5A739 #39C561
square
#3957C5 #C5399D #C5A739 #39C561
split-complementary
#3957C5 #C56139 #9DC539
monochromatic
#1E2D66 #2B4296 #3957C5 #687FD3 #97A7E1
Accessibility & contrast
On white
6.28
#3957C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#3957C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3957C5
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3957C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3957C5 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3957c5; /* rgb */ color: rgb(57, 87, 197); /* oklch */ color: oklch(49.9% 0.175 267.9);
Tailwind
colors: {
custom: {
50: '#8186d7',
500: '#3957c5',
950: '#000000',
},
}SCSS
$custom: #3957c5; $custom-light: #8186d7; $custom-dark: #000000;
JSON
{
"hex": "#3957c5",
"rgb": {
"r": 57,
"g": 87,
"b": 197
},
"hsl": {
"h": 227.143,
"s": 55.118,
"l": 49.804
},
"oklch": {
"l": 0.49926,
"c": 0.17501,
"h": 267.9
},
"luminance": 0.11717
}Semantic roles & 50–950 ramp
primary
#3957C5
secondary
#CDBF8D
accent
#BE49DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83