#3957B9#3957B9
#3957B9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.159 H 267.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3957B9 |
|---|---|
| RGB | rgb(57, 87, 185) |
| HSL | hsl(226, 53%, 47%) |
| HSV | hsv(226, 69%, 73%) |
| CMYK | cmyk(69.2%, 53%, 0%, 27.5%) |
| CIE-LAB | lab(39.89, 22.18, -55.12) |
| CIE-LCH | lch(39.89, 59.42, 291.92°) |
| OKLab | oklab(49% -0.0071 -0.1584) |
| OKLCH | oklch(49% 0.159 267.4) |
| XYZ | xyz(13.8495, 11.1877, 47.3191) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.40
Denim
#1560BD
ΔE00 5.50
Denim Blue
#3B5B92
ΔE00 5.56
Warm Blue
#4B57DB
ΔE00 5.76
Dusky Blue
#475F94
ΔE00 5.99
Cobalt
#0047AB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3957B9 #B99B39
analogous
#3997B9 #3957B9 #5B39B9
triadic
#3957B9 #B93957 #57B939
tetradic
#3957B9 #B93997 #B99B39 #39B95B
square
#3957B9 #B93997 #B99B39 #39B95B
split-complementary
#3957B9 #B95B39 #97B939
monochromatic
#1C2B5B #2B418A #3957B9 #617BCE #90A2DD
Accessibility & contrast
On white
6.49
#3957B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#3957B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3957B9
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3957B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3957B9 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1464BC
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3957b9; /* rgb */ color: rgb(57, 87, 185); /* oklch */ color: oklch(49.0% 0.159 267.4);
Tailwind
colors: {
custom: {
50: '#7f85cf',
500: '#3957b9',
950: '#000000',
},
}SCSS
$custom: #3957b9; $custom-light: #7f85cf; $custom-dark: #000000;
JSON
{
"hex": "#3957b9",
"rgb": {
"r": 57,
"g": 87,
"b": 185
},
"hsl": {
"h": 225.938,
"s": 52.893,
"l": 47.451
},
"oklch": {
"l": 0.48999,
"c": 0.15861,
"h": 267.4
},
"luminance": 0.11189
}Semantic roles & 50–950 ramp
primary
#3957B9
secondary
#C8B886
accent
#BA4BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82