#3957BA#3957BA
#3957BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.160 H 267.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3957BA |
|---|---|
| RGB | rgb(57, 87, 186) |
| HSL | hsl(226, 53%, 48%) |
| HSV | hsv(226, 69%, 73%) |
| CMYK | cmyk(69.4%, 53.2%, 0%, 27.1%) |
| CIE-LAB | lab(39.97, 22.55, -55.59) |
| CIE-LCH | lch(39.97, 59.99, 292.08°) |
| OKLab | oklab(49.08% -0.007 -0.1598) |
| OKLCH | oklch(49.08% 0.16 267.5) |
| XYZ | xyz(13.9554, 11.2300, 47.8770) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.43
Denim
#1560BD
ΔE00 5.52
Warm Blue
#4B57DB
ΔE00 5.63
Denim Blue
#3B5B92
ΔE00 5.68
Dusky Blue
#475F94
ΔE00 6.10
Cobalt
#0047AB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3957BA #BA9C39
analogous
#3997BA #3957BA #5C39BA
triadic
#3957BA #BA3957 #57BA39
tetradic
#3957BA #BA3997 #BA9C39 #39BA5C
square
#3957BA #BA3997 #BA9C39 #39BA5C
split-complementary
#3957BA #BA5C39 #97BA39
monochromatic
#1C2B5C #2B418B #3957BA #617BCF #90A2DD
Accessibility & contrast
On white
6.47
#3957BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#3957BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3957BA
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3957BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3957BA | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1264BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3957ba; /* rgb */ color: rgb(57, 87, 186); /* oklch */ color: oklch(49.1% 0.160 267.5);
Tailwind
colors: {
custom: {
50: '#7f85cf',
500: '#3957ba',
950: '#000000',
},
}SCSS
$custom: #3957ba; $custom-light: #7f85cf; $custom-dark: #000000;
JSON
{
"hex": "#3957ba",
"rgb": {
"r": 57,
"g": 87,
"b": 186
},
"hsl": {
"h": 226.047,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.49075,
"c": 0.16,
"h": 267.5
},
"luminance": 0.11231
}Semantic roles & 50–950 ramp
primary
#3957BA
secondary
#C8B987
accent
#BB4BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82