#3957B5#3957B5
#3957B5 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.153 H 267.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3957B5 |
|---|---|
| RGB | rgb(57, 87, 181) |
| HSL | hsl(225, 52%, 47%) |
| HSV | hsv(225, 69%, 71%) |
| CMYK | cmyk(68.5%, 51.9%, 0%, 29%) |
| CIE-LAB | lab(39.62, 20.72, -53.23) |
| CIE-LCH | lch(39.62, 57.12, 291.27°) |
| OKLab | oklab(48.7% -0.0075 -0.1529) |
| OKLCH | oklch(48.7% 0.153 267.2) |
| XYZ | xyz(13.4331, 11.0211, 45.1265) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.32
Denim Blue
#3B5B92
ΔE00 5.07
Denim
#1560BD
ΔE00 5.42
Dusky Blue
#475F94
ΔE00 5.57
Cobalt
#0047AB
ΔE00 5.92
Warm Blue
#4B57DB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3957B5 #B59739
analogous
#3995B5 #3957B5 #5939B5
triadic
#3957B5 #B53957 #57B539
tetradic
#3957B5 #B53995 #B59739 #39B559
square
#3957B5 #B53995 #B59739 #39B559
split-complementary
#3957B5 #B55939 #95B539
monochromatic
#1C2A58 #2A4186 #3957B5 #5F79CD #8DA0DB
Accessibility & contrast
On white
6.55
#3957B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#3957B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3957B5
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3957B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3957B5 | 1.00 | 6.55 | 3.20 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C63B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3957b5; /* rgb */ color: rgb(57, 87, 181); /* oklch */ color: oklch(48.7% 0.153 267.2);
Tailwind
colors: {
custom: {
50: '#7e85cc',
500: '#3957b5',
950: '#000000',
},
}SCSS
$custom: #3957b5; $custom-light: #7e85cc; $custom-dark: #000000;
JSON
{
"hex": "#3957b5",
"rgb": {
"r": 57,
"g": 87,
"b": 181
},
"hsl": {
"h": 225.484,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.487,
"c": 0.15305,
"h": 267.2
},
"luminance": 0.11022
}Semantic roles & 50–950 ramp
primary
#3957B5
secondary
#C6B684
accent
#B94CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82