#3957B1#3957B1
#3957B1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.147 H 266.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3957B1 |
|---|---|
| RGB | rgb(57, 87, 177) |
| HSL | hsl(225, 51%, 46%) |
| HSV | hsv(225, 68%, 69%) |
| CMYK | cmyk(67.8%, 50.8%, 0%, 30.6%) |
| CIE-LAB | lab(39.34, 19.26, -51.31) |
| CIE-LCH | lch(39.34, 54.81, 290.57°) |
| OKLab | oklab(48.41% -0.0079 -0.1472) |
| OKLCH | oklch(48.41% 0.147 266.9) |
| XYZ | xyz(13.0286, 10.8593, 42.9959) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.34
Denim Blue
#3B5B92
ΔE00 4.58
Dusky Blue
#475F94
ΔE00 5.16
Denim
#1560BD
ΔE00 5.39
Cobalt
#0047AB
ΔE00 5.79
Dusk Blue
#26538D
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3957B1 #B19339
analogous
#3993B1 #3957B1 #5739B1
triadic
#3957B1 #B13957 #57B139
tetradic
#3957B1 #B13993 #B19339 #39B157
square
#3957B1 #B13993 #B19339 #39B157
split-complementary
#3957B1 #B15739 #93B139
monochromatic
#1B2954 #2A4083 #3957B1 #5D78CB #8B9FDA
Accessibility & contrast
On white
6.62
#3957B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#3957B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3957B1
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3957B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3957B1 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2362B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3957b1; /* rgb */ color: rgb(57, 87, 177); /* oklch */ color: oklch(48.4% 0.147 266.9);
Tailwind
colors: {
custom: {
50: '#7d85c9',
500: '#3957b1',
950: '#000000',
},
}SCSS
$custom: #3957b1; $custom-light: #7d85c9; $custom-dark: #000000;
JSON
{
"hex": "#3957b1",
"rgb": {
"r": 57,
"g": 87,
"b": 177
},
"hsl": {
"h": 225,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.48405,
"c": 0.14745,
"h": 266.9
},
"luminance": 0.10861
}Semantic roles & 50–950 ramp
primary
#3957B1
secondary
#C4B382
accent
#B74DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82