#3950C5#3950C5
#3950C5 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.184 H 269.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3950C5 |
|---|---|
| RGB | rgb(57, 80, 197) |
| HSL | hsl(230, 55%, 50%) |
| HSV | hsv(230, 71%, 77%) |
| CMYK | cmyk(71.1%, 59.4%, 0%, 22.7%) |
| CIE-LAB | lab(38.96, 31.06, -63.64) |
| CIE-LCH | lch(38.96, 70.81, 296.01°) |
| OKLab | oklab(48.58% -0.0009 -0.1836) |
| OKLCH | oklch(48.58% 0.184 269.7) |
| XYZ | xyz(14.6306, 10.6369, 54.0946) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 4.37
Sapphire
#0F52BA
ΔE00 4.65
Blue (survey)
#0343DF
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 6.08
Cobalt
#0047AB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950C5 #C5AE39
analogous
#3996C5 #3950C5 #6839C5
triadic
#3950C5 #C53950 #50C539
tetradic
#3950C5 #C53996 #C5AE39 #39C568
square
#3950C5 #C53996 #C5AE39 #39C568
split-complementary
#3950C5 #C56839 #96C539
monochromatic
#1E2966 #2B3D96 #3950C5 #687AD3 #97A3E1
Accessibility & contrast
On white
6.71
#3950C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3950C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950C5
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950C5 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3950c5; /* rgb */ color: rgb(57, 80, 197); /* oklch */ color: oklch(48.6% 0.184 269.7);
Tailwind
colors: {
custom: {
50: '#8280d7',
500: '#3950c5',
950: '#000000',
},
}SCSS
$custom: #3950c5; $custom-light: #8280d7; $custom-dark: #000000;
JSON
{
"hex": "#3950c5",
"rgb": {
"r": 57,
"g": 80,
"b": 197
},
"hsl": {
"h": 230.143,
"s": 55.118,
"l": 49.804
},
"oklch": {
"l": 0.48582,
"c": 0.1836,
"h": 269.7
},
"luminance": 0.10638
}Semantic roles & 50–950 ramp
primary
#3950C5
secondary
#CDC28D
accent
#C649DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83