#3961B7#3961B7
#3961B7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.143 H 263.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3961B7 |
|---|---|
| RGB | rgb(57, 97, 183) |
| HSL | hsl(221, 53%, 47%) |
| HSV | hsv(221, 69%, 72%) |
| CMYK | cmyk(68.9%, 47%, 0%, 28.2%) |
| CIE-LAB | lab(42.52, 14.98, -49.73) |
| CIE-LCH | lch(42.52, 51.93, 286.76°) |
| OKLab | oklab(50.95% -0.0164 -0.1424) |
| OKLCH | oklch(50.95% 0.143 263.4) |
| XYZ | xyz(14.5063, 12.8367, 46.5038) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.07
French Blue
#436BAD
ΔE00 3.66
Denim Blue
#3B5B92
ΔE00 5.01
Mid Blue
#276AB3
ΔE00 5.09
Dusky Blue
#475F94
ΔE00 5.13
Sapphire
#0F52BA
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3961B7 #B78F39
analogous
#39A0B7 #3961B7 #5039B7
triadic
#3961B7 #B73961 #61B739
tetradic
#3961B7 #B739A0 #B78F39 #39B750
square
#3961B7 #B739A0 #B78F39 #39B750
split-complementary
#3961B7 #B75039 #A0B739
monochromatic
#1C305A #2A4888 #3961B7 #6083CD #8EA7DC
Accessibility & contrast
On white
5.89
#3961B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#3961B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3961B7
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3961B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3961B7 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#195FB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3961b7; /* rgb */ color: rgb(57, 97, 183); /* oklch */ color: oklch(51.0% 0.143 263.4);
Tailwind
colors: {
custom: {
50: '#7e8dcd',
500: '#3961b7',
950: '#000000',
},
}SCSS
$custom: #3961b7; $custom-light: #7e8dcd; $custom-dark: #000000;
JSON
{
"hex": "#3961b7",
"rgb": {
"r": 57,
"g": 97,
"b": 183
},
"hsl": {
"h": 220.952,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.50953,
"c": 0.14336,
"h": 263.4
},
"luminance": 0.12838
}Semantic roles & 50–950 ramp
primary
#3961B7
secondary
#C7B285
accent
#AE4CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82