#3962AB#3962AB
#3962AB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.125 H 261.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3962AB |
|---|---|
| RGB | rgb(57, 98, 171) |
| HSL | hsl(218, 50%, 45%) |
| HSV | hsv(218, 67%, 67%) |
| CMYK | cmyk(66.7%, 42.7%, 0%, 32.9%) |
| CIE-LAB | lab(42.07, 9.96, -43.40) |
| CIE-LCH | lch(42.07, 44.53, 282.92°) |
| OKLab | oklab(50.37% -0.0195 -0.1238) |
| OKLCH | oklch(50.37% 0.125 261) |
| XYZ | xyz(13.4031, 12.5442, 40.2351) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.03
French Blue
#436BAD
ΔE00 3.13
Denim Blue
#3B5B92
ΔE00 3.89
Dusky Blue
#475F94
ΔE00 4.18
Denim (survey)
#3B638C
ΔE00 4.26
Mid Blue
#276AB3
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3962AB #AB8239
analogous
#399BAB #3962AB #4939AB
triadic
#3962AB #AB3962 #62AB39
tetradic
#3962AB #AB399B #AB8239 #39AB49
square
#3962AB #AB399B #AB8239 #39AB49
split-complementary
#3962AB #AB4939 #9BAB39
monochromatic
#1A2D4F #2A487D #3962AB #5981C8 #87A4D7
Accessibility & contrast
On white
5.98
#3962AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#3962AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3962AB
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3962AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3962AB | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4069AE
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3962ab; /* rgb */ color: rgb(57, 98, 171); /* oklch */ color: oklch(50.4% 0.125 261.0);
Tailwind
colors: {
custom: {
50: '#7c8ec4',
500: '#3962ab',
950: '#000000',
},
}SCSS
$custom: #3962ab; $custom-light: #7c8ec4; $custom-dark: #000000;
JSON
{
"hex": "#3962ab",
"rgb": {
"r": 57,
"g": 98,
"b": 171
},
"hsl": {
"h": 218.421,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.50371,
"c": 0.12535,
"h": 261
},
"luminance": 0.12545
}Semantic roles & 50–950 ramp
primary
#3962AB
secondary
#C1A97F
accent
#A74EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82