#3961BF#3961BF
#3961BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.5% C 0.154 H 264.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3961BF |
|---|---|
| RGB | rgb(57, 97, 191) |
| HSL | hsl(222, 54%, 49%) |
| HSV | hsv(222, 70%, 75%) |
| CMYK | cmyk(70.2%, 49.2%, 0%, 25.1%) |
| CIE-LAB | lab(43.03, 17.91, -53.56) |
| CIE-LCH | lch(43.03, 56.47, 288.49°) |
| OKLab | oklab(51.51% -0.0153 -0.1537) |
| OKLCH | oklch(51.51% 0.154 264.3) |
| XYZ | xyz(15.3627, 13.1793, 51.0143) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.43
French Blue
#436BAD
ΔE00 4.09
Sapphire
#0F52BA
ΔE00 5.29
Royal Blue
#4169E1
ΔE00 5.33
Azul
#1D5DEC
ΔE00 5.43
Mid Blue
#276AB3
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3961BF #BF9739
analogous
#39A4BF #3961BF #5439BF
triadic
#3961BF #BF3961 #61BF39
tetradic
#3961BF #BF39A4 #BF9739 #39BF54
square
#3961BF #BF39A4 #BF9739 #39BF54
split-complementary
#3961BF #BF5439 #A4BF39
monochromatic
#1D3161 #2B4990 #3961BF #6485D1 #93AADF
Accessibility & contrast
On white
5.78
#3961BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#3961BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3961BF
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3961BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3961BF | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3961bf; /* rgb */ color: rgb(57, 97, 191); /* oklch */ color: oklch(51.5% 0.154 264.3);
Tailwind
colors: {
custom: {
50: '#7f8dd3',
500: '#3961bf',
950: '#000000',
},
}SCSS
$custom: #3961bf; $custom-light: #7f8dd3; $custom-dark: #000000;
JSON
{
"hex": "#3961bf",
"rgb": {
"r": 57,
"g": 97,
"b": 191
},
"hsl": {
"h": 222.09,
"s": 54.032,
"l": 48.627
},
"oklch": {
"l": 0.51513,
"c": 0.15445,
"h": 264.3
},
"luminance": 0.13181
}Semantic roles & 50–950 ramp
primary
#3961BF
secondary
#CAB78A
accent
#B24ADD
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83