#3950CD#3950CD
#3950CD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.194 H 269.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3950CD |
|---|---|
| RGB | rgb(57, 80, 205) |
| HSL | hsl(231, 60%, 51%) |
| HSV | hsv(231, 72%, 80%) |
| CMYK | cmyk(72.2%, 61%, 0%, 19.6%) |
| CIE-LAB | lab(39.60, 33.92, -67.23) |
| CIE-LCH | lch(39.60, 75.31, 296.77°) |
| OKLab | oklab(49.26% -0.001 -0.1941) |
| OKLCH | oklch(49.26% 0.194 269.7) |
| XYZ | xyz(15.5717, 11.0133, 59.0509) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.57
Blue (survey)
#0343DF
ΔE00 4.32
Blue Blue
#2242C7
ΔE00 4.36
Sapphire
#0F52BA
ΔE00 5.33
Azul
#1D5DEC
ΔE00 5.82
Electric Blue
#0652FF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950CD #CDB639
analogous
#399ACD #3950CD #6C39CD
triadic
#3950CD #CD3950 #50CD39
tetradic
#3950CD #CD399A #CDB639 #39CD6C
square
#3950CD #CD399A #CDB639 #39CD6C
split-complementary
#3950CD #CD6C39 #9ACD39
monochromatic
#1C296F #283BA0 #3950CD #6A7BD9 #9BA6E6
Accessibility & contrast
On white
6.56
#3950CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#3950CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950CD
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950CD | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3950cd; /* rgb */ color: rgb(57, 80, 205); /* oklch */ color: oklch(49.3% 0.194 269.7);
Tailwind
colors: {
custom: {
50: '#8381dd',
500: '#3950cd',
950: '#000000',
},
}SCSS
$custom: #3950cd; $custom-light: #8381dd; $custom-dark: #000000;
JSON
{
"hex": "#3950cd",
"rgb": {
"r": 57,
"g": 80,
"b": 205
},
"hsl": {
"h": 230.676,
"s": 59.677,
"l": 51.373
},
"oklch": {
"l": 0.49257,
"c": 0.19414,
"h": 269.7
},
"luminance": 0.11015
}Semantic roles & 50–950 ramp
primary
#3950CD
secondary
#D2C790
accent
#CA45E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83