#3950B3#3950B3
#3950B3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.159 H 269.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3950B3 |
|---|---|
| RGB | rgb(57, 80, 179) |
| HSL | hsl(229, 52%, 46%) |
| HSV | hsv(229, 68%, 70%) |
| CMYK | cmyk(68.2%, 55.3%, 0%, 29.8%) |
| CIE-LAB | lab(37.59, 24.55, -55.32) |
| CIE-LCH | lch(37.59, 60.53, 293.93°) |
| OKLab | oklab(47.13% -0.0014 -0.1592) |
| OKLCH | oklch(47.13% 0.159 269.5) |
| XYZ | xyz(12.6899, 9.8606, 43.8736) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.85
Cobalt
#0047AB
ΔE00 4.77
Blue Blue
#2242C7
ΔE00 5.10
Denim Blue
#3B5B92
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 6.39
Warm Blue
#4B57DB
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950B3 #B39C39
analogous
#398DB3 #3950B3 #5F39B3
triadic
#3950B3 #B33950 #50B339
tetradic
#3950B3 #B3398D #B39C39 #39B35F
square
#3950B3 #B3398D #B39C39 #39B35F
split-complementary
#3950B3 #B35F39 #8DB339
monochromatic
#1B2756 #2A3B85 #3950B3 #5E72CC #8C9BDA
Accessibility & contrast
On white
7.06
#3950B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#3950B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3950B3
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950B3 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3950b3; /* rgb */ color: rgb(57, 80, 179); /* oklch */ color: oklch(47.1% 0.159 269.5);
Tailwind
colors: {
custom: {
50: '#7e80ca',
500: '#3950b3',
950: '#000000',
},
}SCSS
$custom: #3950b3; $custom-light: #7e80ca; $custom-dark: #000000;
JSON
{
"hex": "#3950b3",
"rgb": {
"r": 57,
"g": 80,
"b": 179
},
"hsl": {
"h": 228.689,
"s": 51.695,
"l": 46.275
},
"oklch": {
"l": 0.47127,
"c": 0.15916,
"h": 269.5
},
"luminance": 0.09862
}Semantic roles & 50–950 ramp
primary
#3950B3
secondary
#C5B883
accent
#C04DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82