#3961C7#3961C7
#3961C7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.165 H 265.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3961C7 |
|---|---|
| RGB | rgb(57, 97, 199) |
| HSL | hsl(223, 56%, 50%) |
| HSV | hsv(223, 71%, 78%) |
| CMYK | cmyk(71.4%, 51.3%, 0%, 22%) |
| CIE-LAB | lab(43.57, 20.85, -57.33) |
| CIE-LCH | lch(43.57, 61.00, 289.99°) |
| OKLab | oklab(52.09% -0.0143 -0.1648) |
| OKLCH | oklch(52.09% 0.165 265) |
| XYZ | xyz(16.2672, 13.5411, 55.7781) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.04
Azul
#1D5DEC
ΔE00 4.46
Royal Blue
#4169E1
ΔE00 4.47
French Blue
#436BAD
ΔE00 4.69
Sapphire
#0F52BA
ΔE00 5.63
Warm Blue
#4B57DB
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3961C7 #C79F39
analogous
#39A8C7 #3961C7 #5839C7
triadic
#3961C7 #C73961 #61C739
tetradic
#3961C7 #C739A8 #C79F39 #39C758
square
#3961C7 #C739A8 #C79F39 #39C758
split-complementary
#3961C7 #C75839 #A8C739
monochromatic
#1D3268 #2B4A98 #3961C7 #6987D4 #98ADE2
Accessibility & contrast
On white
5.66
#3961C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#3961C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3961C7
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3961C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3961C7 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3961c7; /* rgb */ color: rgb(57, 97, 199); /* oklch */ color: oklch(52.1% 0.165 265.0);
Tailwind
colors: {
custom: {
50: '#818dd9',
500: '#3961c7',
950: '#000000',
},
}SCSS
$custom: #3961c7; $custom-light: #818dd9; $custom-dark: #000000;
JSON
{
"hex": "#3961c7",
"rgb": {
"r": 57,
"g": 97,
"b": 199
},
"hsl": {
"h": 223.099,
"s": 55.906,
"l": 50.196
},
"oklch": {
"l": 0.52091,
"c": 0.1654,
"h": 265
},
"luminance": 0.13543
}Semantic roles & 50–950 ramp
primary
#3961C7
secondary
#CEBC8E
accent
#B549DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83