#3950C1#3950C1
#3950C1 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.178 H 269.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3950C1 |
|---|---|
| RGB | rgb(57, 80, 193) |
| HSL | hsl(230, 54%, 49%) |
| HSV | hsv(230, 70%, 76%) |
| CMYK | cmyk(70.5%, 58.5%, 0%, 24.3%) |
| CIE-LAB | lab(38.65, 29.62, -61.82) |
| CIE-LCH | lch(38.65, 68.55, 295.60°) |
| OKLab | oklab(48.25% -0.001 -0.1782) |
| OKLCH | oklch(48.25% 0.178 269.7) |
| XYZ | xyz(14.1783, 10.4560, 51.7127) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.37
Warm Blue
#4B57DB
ΔE00 4.81
Blue (survey)
#0343DF
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950C1 #C1AA39
analogous
#3994C1 #3950C1 #6639C1
triadic
#3950C1 #C13950 #50C139
tetradic
#3950C1 #C13994 #C1AA39 #39C166
square
#3950C1 #C13994 #C1AA39 #39C166
split-complementary
#3950C1 #C16639 #94C139
monochromatic
#1D2963 #2B3C92 #3950C1 #6678D2 #95A1E0
Accessibility & contrast
On white
6.79
#3950C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3950C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950C1
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950C1 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3950c1; /* rgb */ color: rgb(57, 80, 193); /* oklch */ color: oklch(48.3% 0.178 269.7);
Tailwind
colors: {
custom: {
50: '#8180d5',
500: '#3950c1',
950: '#000000',
},
}SCSS
$custom: #3950c1; $custom-light: #8180d5; $custom-dark: #000000;
JSON
{
"hex": "#3950c1",
"rgb": {
"r": 57,
"g": 80,
"b": 193
},
"hsl": {
"h": 229.853,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.48251,
"c": 0.17825,
"h": 269.7
},
"luminance": 0.10457
}Semantic roles & 50–950 ramp
primary
#3950C1
secondary
#CBC08B
accent
#C54ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83