#3961CC#3961CC
#3961CC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.172 H 265.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3961CC |
|---|---|
| RGB | rgb(57, 97, 204) |
| HSL | hsl(224, 59%, 51%) |
| HSV | hsv(224, 72%, 80%) |
| CMYK | cmyk(72.1%, 52.5%, 0%, 20%) |
| CIE-LAB | lab(43.91, 22.68, -59.65) |
| CIE-LCH | lch(43.91, 63.82, 290.82°) |
| OKLab | oklab(52.46% -0.0139 -0.1716) |
| OKLCH | oklch(52.46% 0.172 265.4) |
| XYZ | xyz(16.8573, 13.7771, 58.8859) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.86
Royal Blue
#4169E1
ΔE00 3.97
Denim
#1560BD
ΔE00 4.50
French Blue
#436BAD
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.37
Bright Blue
#0165FC
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3961CC #CCA439
analogous
#39ABCC #3961CC #5A39CC
triadic
#3961CC #CC3961 #61CC39
tetradic
#3961CC #CC39AB #CCA439 #39CC5A
square
#3961CC #CC39AB #CCA439 #39CC5A
split-complementary
#3961CC #CC5A39 #ABCC39
monochromatic
#1C336E #29499F #3961CC #6A88D9 #9AAFE5
Accessibility & contrast
On white
5.59
#3961CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#3961CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3961CC
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3961CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3961CC | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #3961cc; /* rgb */ color: rgb(57, 97, 204); /* oklch */ color: oklch(52.5% 0.172 265.4);
Tailwind
colors: {
custom: {
50: '#828ddc',
500: '#3961cc',
950: '#000000',
},
}SCSS
$custom: #3961cc; $custom-light: #828ddc; $custom-dark: #000000;
JSON
{
"hex": "#3961cc",
"rgb": {
"r": 57,
"g": 97,
"b": 204
},
"hsl": {
"h": 223.673,
"s": 59.036,
"l": 51.176
},
"oklch": {
"l": 0.52462,
"c": 0.17219,
"h": 265.4
},
"luminance": 0.13779
}Semantic roles & 50–950 ramp
primary
#3961CC
secondary
#D1BF90
accent
#B846E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83