#3950C2#3950C2
#3950C2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.180 H 269.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3950C2 |
|---|---|
| RGB | rgb(57, 80, 194) |
| HSL | hsl(230, 55%, 49%) |
| HSV | hsv(230, 71%, 76%) |
| CMYK | cmyk(70.6%, 58.8%, 0%, 23.9%) |
| CIE-LAB | lab(38.73, 29.98, -62.28) |
| CIE-LCH | lch(38.73, 69.12, 295.71°) |
| OKLab | oklab(48.33% -0.001 -0.1796) |
| OKLCH | oklch(48.33% 0.18 269.7) |
| XYZ | xyz(14.2903, 10.5008, 52.3022) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.28
Sapphire
#0F52BA
ΔE00 4.44
Warm Blue
#4B57DB
ΔE00 4.70
Blue (survey)
#0343DF
ΔE00 5.09
Cobalt
#0047AB
ΔE00 5.90
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950C2 #C2AB39
analogous
#3995C2 #3950C2 #6739C2
triadic
#3950C2 #C23950 #50C239
tetradic
#3950C2 #C23995 #C2AB39 #39C267
square
#3950C2 #C23995 #C2AB39 #39C267
split-complementary
#3950C2 #C26739 #95C239
monochromatic
#1D2963 #2B3C93 #3950C2 #6678D2 #95A2E0
Accessibility & contrast
On white
6.77
#3950C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3950C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950C2
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950C2 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3950c2; /* rgb */ color: rgb(57, 80, 194); /* oklch */ color: oklch(48.3% 0.180 269.7);
Tailwind
colors: {
custom: {
50: '#8180d5',
500: '#3950c2',
950: '#000000',
},
}SCSS
$custom: #3950c2; $custom-light: #8180d5; $custom-dark: #000000;
JSON
{
"hex": "#3950c2",
"rgb": {
"r": 57,
"g": 80,
"b": 194
},
"hsl": {
"h": 229.927,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.48333,
"c": 0.17959,
"h": 269.7
},
"luminance": 0.10502
}Semantic roles & 50–950 ramp
primary
#3950C2
secondary
#CBC18B
accent
#C54ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83