#3957BF#3957BF
#3957BF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.167 H 267.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3957BF |
|---|---|
| RGB | rgb(57, 87, 191) |
| HSL | hsl(227, 54%, 49%) |
| HSV | hsv(227, 70%, 75%) |
| CMYK | cmyk(70.2%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(40.32, 24.37, -57.94) |
| CIE-LCH | lch(40.32, 62.85, 292.82°) |
| OKLab | oklab(49.46% -0.0067 -0.1667) |
| OKLCH | oklch(49.46% 0.167 267.7) |
| XYZ | xyz(14.4963, 11.4464, 50.7255) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.67
Warm Blue
#4B57DB
ΔE00 4.98
Denim
#1560BD
ΔE00 5.70
Azul
#1D5DEC
ΔE00 5.79
Denim Blue
#3B5B92
ΔE00 6.29
Cobalt
#0047AB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3957BF #BFA139
analogous
#399ABF #3957BF #5E39BF
triadic
#3957BF #BF3957 #57BF39
tetradic
#3957BF #BF399A #BFA139 #39BF5E
square
#3957BF #BF399A #BFA139 #39BF5E
split-complementary
#3957BF #BF5E39 #9ABF39
monochromatic
#1D2C61 #2B4290 #3957BF #647DD1 #93A4DF
Accessibility & contrast
On white
6.38
#3957BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#3957BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3957BF
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3957BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3957BF | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3957bf; /* rgb */ color: rgb(57, 87, 191); /* oklch */ color: oklch(49.5% 0.167 267.7);
Tailwind
colors: {
custom: {
50: '#8086d3',
500: '#3957bf',
950: '#000000',
},
}SCSS
$custom: #3957bf; $custom-light: #8086d3; $custom-dark: #000000;
JSON
{
"hex": "#3957bf",
"rgb": {
"r": 57,
"g": 87,
"b": 191
},
"hsl": {
"h": 226.567,
"s": 54.032,
"l": 48.627
},
"oklch": {
"l": 0.49458,
"c": 0.16686,
"h": 267.7
},
"luminance": 0.11448
}Semantic roles & 50–950 ramp
primary
#3957BF
secondary
#CABC8A
accent
#BC4ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83