#3957C1#3957C1
#3957C1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.170 H 267.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3957C1 |
|---|---|
| RGB | rgb(57, 87, 193) |
| HSL | hsl(227, 54%, 49%) |
| HSV | hsv(227, 70%, 76%) |
| CMYK | cmyk(70.5%, 54.9%, 0%, 24.3%) |
| CIE-LAB | lab(40.47, 25.10, -58.87) |
| CIE-LCH | lch(40.47, 63.99, 293.10°) |
| OKLab | oklab(49.61% -0.0065 -0.1695) |
| OKLCH | oklch(49.61% 0.17 267.8) |
| XYZ | xyz(14.7178, 11.5350, 51.8926) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.80
Warm Blue
#4B57DB
ΔE00 4.73
Azul
#1D5DEC
ΔE00 5.56
Denim
#1560BD
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 6.49
Denim Blue
#3B5B92
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3957C1 #C1A339
analogous
#399BC1 #3957C1 #5F39C1
triadic
#3957C1 #C13957 #57C139
tetradic
#3957C1 #C1399B #C1A339 #39C15F
square
#3957C1 #C1399B #C1A339 #39C15F
split-complementary
#3957C1 #C15F39 #9BC139
monochromatic
#1D2C63 #2B4292 #3957C1 #667DD2 #95A5E0
Accessibility & contrast
On white
6.35
#3957C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#3957C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3957C1
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3957C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3957C1 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3957c1; /* rgb */ color: rgb(57, 87, 193); /* oklch */ color: oklch(49.6% 0.170 267.8);
Tailwind
colors: {
custom: {
50: '#8086d4',
500: '#3957c1',
950: '#000000',
},
}SCSS
$custom: #3957c1; $custom-light: #8086d4; $custom-dark: #000000;
JSON
{
"hex": "#3957c1",
"rgb": {
"r": 57,
"g": 87,
"b": 193
},
"hsl": {
"h": 226.765,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.49613,
"c": 0.1696,
"h": 267.8
},
"luminance": 0.11537
}Semantic roles & 50–950 ramp
primary
#3957C1
secondary
#CBBD8B
accent
#BD4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83