#3950C7#3950C7
#3950C7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.186 H 269.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3950C7 |
|---|---|
| RGB | rgb(57, 80, 199) |
| HSL | hsl(230, 56%, 50%) |
| HSV | hsv(230, 71%, 78%) |
| CMYK | cmyk(71.4%, 59.8%, 0%, 22%) |
| CIE-LAB | lab(39.12, 31.78, -64.54) |
| CIE-LCH | lch(39.12, 71.94, 296.21°) |
| OKLab | oklab(48.75% -0.0009 -0.1862) |
| OKLCH | oklch(48.75% 0.186 269.7) |
| XYZ | xyz(14.8613, 10.7292, 55.3095) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.16
Blue Blue
#2242C7
ΔE00 4.24
Blue (survey)
#0343DF
ΔE00 4.69
Sapphire
#0F52BA
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 6.12
Iris
#6258C4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950C7 #C7B039
analogous
#3997C7 #3950C7 #6939C7
triadic
#3950C7 #C73950 #50C739
tetradic
#3950C7 #C73997 #C7B039 #39C769
square
#3950C7 #C73997 #C7B039 #39C769
split-complementary
#3950C7 #C76939 #97C739
monochromatic
#1D2A68 #2B3D98 #3950C7 #697AD4 #98A4E2
Accessibility & contrast
On white
6.67
#3950C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3950C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950C7
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950C7 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3950c7; /* rgb */ color: rgb(57, 80, 199); /* oklch */ color: oklch(48.7% 0.186 269.7);
Tailwind
colors: {
custom: {
50: '#8280d9',
500: '#3950c7',
950: '#000000',
},
}SCSS
$custom: #3950c7; $custom-light: #8280d9; $custom-dark: #000000;
JSON
{
"hex": "#3950c7",
"rgb": {
"r": 57,
"g": 80,
"b": 199
},
"hsl": {
"h": 230.282,
"s": 55.906,
"l": 50.196
},
"oklch": {
"l": 0.48749,
"c": 0.18625,
"h": 269.7
},
"luminance": 0.10731
}Semantic roles & 50–950 ramp
primary
#3950C7
secondary
#CEC38E
accent
#C749DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83