#3957B7#3957B7
#3957B7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.156 H 267.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3957B7 |
|---|---|
| RGB | rgb(57, 87, 183) |
| HSL | hsl(226, 53%, 47%) |
| HSV | hsv(226, 69%, 72%) |
| CMYK | cmyk(68.9%, 52.5%, 0%, 28.2%) |
| CIE-LAB | lab(39.75, 21.45, -54.18) |
| CIE-LCH | lch(39.75, 58.27, 291.60°) |
| OKLab | oklab(48.85% -0.0073 -0.1557) |
| OKLCH | oklch(48.85% 0.156 267.3) |
| XYZ | xyz(13.6398, 11.1038, 46.2150) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.35
Denim Blue
#3B5B92
ΔE00 5.32
Denim
#1560BD
ΔE00 5.45
Dusky Blue
#475F94
ΔE00 5.78
Cobalt
#0047AB
ΔE00 6.00
Warm Blue
#4B57DB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3957B7 #B79939
analogous
#3996B7 #3957B7 #5A39B7
triadic
#3957B7 #B73957 #57B739
tetradic
#3957B7 #B73996 #B79939 #39B75A
square
#3957B7 #B73996 #B79939 #39B75A
split-complementary
#3957B7 #B75A39 #96B739
monochromatic
#1C2B5A #2A4188 #3957B7 #607ACD #8EA1DC
Accessibility & contrast
On white
6.52
#3957B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#3957B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3957B7
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3957B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3957B7 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1964BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3957b7; /* rgb */ color: rgb(57, 87, 183); /* oklch */ color: oklch(48.8% 0.156 267.3);
Tailwind
colors: {
custom: {
50: '#7e85cd',
500: '#3957b7',
950: '#000000',
},
}SCSS
$custom: #3957b7; $custom-light: #7e85cd; $custom-dark: #000000;
JSON
{
"hex": "#3957b7",
"rgb": {
"r": 57,
"g": 87,
"b": 183
},
"hsl": {
"h": 225.714,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.48849,
"c": 0.15584,
"h": 267.3
},
"luminance": 0.11105
}Semantic roles & 50–950 ramp
primary
#3957B7
secondary
#C7B785
accent
#BA4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82