#3950C4#3950C4
#3950C4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.182 H 269.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3950C4 |
|---|---|
| RGB | rgb(57, 80, 196) |
| HSL | hsl(230, 55%, 50%) |
| HSV | hsv(230, 71%, 77%) |
| CMYK | cmyk(70.9%, 59.2%, 0%, 23.1%) |
| CIE-LAB | lab(38.88, 30.70, -63.19) |
| CIE-LCH | lch(38.88, 70.25, 295.91°) |
| OKLab | oklab(48.5% -0.0009 -0.1823) |
| OKLCH | oklch(48.5% 0.182 269.7) |
| XYZ | xyz(14.5164, 10.5912, 53.4931) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.25
Warm Blue
#4B57DB
ΔE00 4.48
Sapphire
#0F52BA
ΔE00 4.58
Blue (survey)
#0343DF
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 6.07
Cobalt
#0047AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950C4 #C4AD39
analogous
#3996C4 #3950C4 #6839C4
triadic
#3950C4 #C43950 #50C439
tetradic
#3950C4 #C43996 #C4AD39 #39C468
square
#3950C4 #C43996 #C4AD39 #39C468
split-complementary
#3950C4 #C46839 #96C439
monochromatic
#1D2965 #2B3D95 #3950C4 #6779D3 #97A3E1
Accessibility & contrast
On white
6.73
#3950C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3950C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950C4
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950C4 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3950c4; /* rgb */ color: rgb(57, 80, 196); /* oklch */ color: oklch(48.5% 0.182 269.7);
Tailwind
colors: {
custom: {
50: '#8180d7',
500: '#3950c4',
950: '#000000',
},
}SCSS
$custom: #3950c4; $custom-light: #8180d7; $custom-dark: #000000;
JSON
{
"hex": "#3950c4",
"rgb": {
"r": 57,
"g": 80,
"b": 196
},
"hsl": {
"h": 230.072,
"s": 54.941,
"l": 49.608
},
"oklch": {
"l": 0.48499,
"c": 0.18226,
"h": 269.7
},
"luminance": 0.10593
}Semantic roles & 50–950 ramp
primary
#3950C4
secondary
#CCC28D
accent
#C64ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83