#3961B8#3961B8
#3961B8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.145 H 263.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3961B8 |
|---|---|
| RGB | rgb(57, 97, 184) |
| HSL | hsl(221, 53%, 47%) |
| HSV | hsv(221, 69%, 72%) |
| CMYK | cmyk(69%, 47.3%, 0%, 27.8%) |
| CIE-LAB | lab(42.58, 15.35, -50.21) |
| CIE-LCH | lch(42.58, 52.50, 286.99°) |
| OKLab | oklab(51.02% -0.0163 -0.1438) |
| OKLCH | oklch(51.02% 0.145 263.5) |
| XYZ | xyz(14.6107, 12.8785, 47.0539) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.10
French Blue
#436BAD
ΔE00 3.70
Denim Blue
#3B5B92
ΔE00 5.12
Mid Blue
#276AB3
ΔE00 5.14
Sapphire
#0F52BA
ΔE00 5.18
Dusky Blue
#475F94
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3961B8 #B89039
analogous
#39A1B8 #3961B8 #5039B8
triadic
#3961B8 #B83961 #61B839
tetradic
#3961B8 #B839A1 #B89039 #39B850
square
#3961B8 #B839A1 #B89039 #39B850
split-complementary
#3961B8 #B85039 #A1B839
monochromatic
#1C305B #2B4889 #3961B8 #6083CE #8FA7DC
Accessibility & contrast
On white
5.87
#3961B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#3961B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3961B8
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3961B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3961B8 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#175FB6
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3961b8; /* rgb */ color: rgb(57, 97, 184); /* oklch */ color: oklch(51.0% 0.145 263.5);
Tailwind
colors: {
custom: {
50: '#7e8dce',
500: '#3961b8',
950: '#000000',
},
}SCSS
$custom: #3961b8; $custom-light: #7e8dce; $custom-dark: #000000;
JSON
{
"hex": "#3961b8",
"rgb": {
"r": 57,
"g": 97,
"b": 184
},
"hsl": {
"h": 221.102,
"s": 52.697,
"l": 47.255
},
"oklch": {
"l": 0.51022,
"c": 0.14476,
"h": 263.5
},
"luminance": 0.1288
}Semantic roles & 50–950 ramp
primary
#3961B8
secondary
#C7B286
accent
#AF4CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82