#3960B8#3960B8
#3960B8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.146 H 264.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3960B8 |
|---|---|
| RGB | rgb(57, 96, 184) |
| HSL | hsl(222, 53%, 47%) |
| HSV | hsv(222, 69%, 72%) |
| CMYK | cmyk(69%, 47.8%, 0%, 27.8%) |
| CIE-LAB | lab(42.30, 15.99, -50.66) |
| CIE-LCH | lch(42.30, 53.12, 287.52°) |
| OKLab | oklab(50.81% -0.0153 -0.1452) |
| OKLCH | oklch(50.81% 0.146 264) |
| XYZ | xyz(14.5189, 12.6948, 47.0233) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.24
French Blue
#436BAD
ΔE00 4.04
Sapphire
#0F52BA
ΔE00 4.90
Denim Blue
#3B5B92
ΔE00 5.03
Dusky Blue
#475F94
ΔE00 5.18
Mid Blue
#276AB3
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3960B8 #B89139
analogous
#399FB8 #3960B8 #5239B8
triadic
#3960B8 #B83960 #60B839
tetradic
#3960B8 #B8399F #B89139 #39B852
square
#3960B8 #B8399F #B89139 #39B852
split-complementary
#3960B8 #B85239 #9FB839
monochromatic
#1C2F5B #2B4889 #3960B8 #6082CE #8FA7DC
Accessibility & contrast
On white
5.93
#3960B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#3960B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3960B8
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3960B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3960B8 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316ABB
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3960b8; /* rgb */ color: rgb(57, 96, 184); /* oklch */ color: oklch(50.8% 0.146 264.0);
Tailwind
colors: {
custom: {
50: '#7e8cce',
500: '#3960b8',
950: '#000000',
},
}SCSS
$custom: #3960b8; $custom-light: #7e8cce; $custom-dark: #000000;
JSON
{
"hex": "#3960b8",
"rgb": {
"r": 57,
"g": 96,
"b": 184
},
"hsl": {
"h": 221.575,
"s": 52.697,
"l": 47.255
},
"oklch": {
"l": 0.50807,
"c": 0.14599,
"h": 264
},
"luminance": 0.12696
}Semantic roles & 50–950 ramp
primary
#3960B8
secondary
#C7B386
accent
#B04CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82