#3950C0#3950C0
#3950C0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.2% C 0.177 H 269.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3950C0 |
|---|---|
| RGB | rgb(57, 80, 192) |
| HSL | hsl(230, 54%, 49%) |
| HSV | hsv(230, 70%, 75%) |
| CMYK | cmyk(70.3%, 58.3%, 0%, 24.7%) |
| CIE-LAB | lab(38.57, 29.26, -61.36) |
| CIE-LCH | lch(38.57, 67.98, 295.49°) |
| OKLab | oklab(48.17% -0.001 -0.1769) |
| OKLCH | oklch(48.17% 0.177 269.7) |
| XYZ | xyz(14.0672, 10.4115, 51.1272) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.31
Blue Blue
#2242C7
ΔE00 4.33
Warm Blue
#4B57DB
ΔE00 4.93
Blue (survey)
#0343DF
ΔE00 5.27
Cobalt
#0047AB
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950C0 #C0A939
analogous
#3994C0 #3950C0 #6639C0
triadic
#3950C0 #C03950 #50C039
tetradic
#3950C0 #C03994 #C0A939 #39C066
square
#3950C0 #C03994 #C0A939 #39C066
split-complementary
#3950C0 #C06639 #94C039
monochromatic
#1D2962 #2B3C91 #3950C0 #6577D1 #94A1DF
Accessibility & contrast
On white
6.81
#3950C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#3950C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950C0
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950C0 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3950c0; /* rgb */ color: rgb(57, 80, 192); /* oklch */ color: oklch(48.2% 0.177 269.7);
Tailwind
colors: {
custom: {
50: '#8180d4',
500: '#3950c0',
950: '#000000',
},
}SCSS
$custom: #3950c0; $custom-light: #8180d4; $custom-dark: #000000;
JSON
{
"hex": "#3950c0",
"rgb": {
"r": 57,
"g": 80,
"b": 192
},
"hsl": {
"h": 229.778,
"s": 54.217,
"l": 48.824
},
"oklch": {
"l": 0.48169,
"c": 0.17691,
"h": 269.7
},
"luminance": 0.10413
}Semantic roles & 50–950 ramp
primary
#3950C0
secondary
#CBC08A
accent
#C44ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83