#3950B7#3950B7
#3950B7 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.165 H 269.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3950B7 |
|---|---|
| RGB | rgb(57, 80, 183) |
| HSL | hsl(229, 53%, 47%) |
| HSV | hsv(229, 69%, 72%) |
| CMYK | cmyk(68.9%, 56.3%, 0%, 28.2%) |
| CIE-LAB | lab(37.89, 26.00, -57.20) |
| CIE-LCH | lch(37.89, 62.83, 294.45°) |
| OKLab | oklab(47.44% -0.0012 -0.1647) |
| OKLCH | oklch(47.44% 0.165 269.6) |
| XYZ | xyz(13.1003, 10.0248, 46.0352) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.91
Blue Blue
#2242C7
ΔE00 4.79
Cobalt
#0047AB
ΔE00 5.00
Warm Blue
#4B57DB
ΔE00 6.00
Blue (survey)
#0343DF
ΔE00 6.20
Ocean Blue
#4F42B5
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950B7 #B7A039
analogous
#398FB7 #3950B7 #6139B7
triadic
#3950B7 #B73950 #50B739
tetradic
#3950B7 #B7398F #B7A039 #39B761
square
#3950B7 #B7398F #B7A039 #39B761
split-complementary
#3950B7 #B76139 #8FB739
monochromatic
#1C275A #2A3C88 #3950B7 #6074CD #8E9DDC
Accessibility & contrast
On white
6.99
#3950B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#3950B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950B7
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950B7 | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3950b7; /* rgb */ color: rgb(57, 80, 183); /* oklch */ color: oklch(47.4% 0.165 269.6);
Tailwind
colors: {
custom: {
50: '#7f80cd',
500: '#3950b7',
950: '#000000',
},
}SCSS
$custom: #3950b7; $custom-light: #7f80cd; $custom-dark: #000000;
JSON
{
"hex": "#3950b7",
"rgb": {
"r": 57,
"g": 80,
"b": 183
},
"hsl": {
"h": 229.048,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.47442,
"c": 0.16467,
"h": 269.6
},
"luminance": 0.10026
}Semantic roles & 50–950 ramp
primary
#3950B7
secondary
#C7BB85
accent
#C24CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82