#3950BF#3950BF
#3950BF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.176 H 269.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3950BF |
|---|---|
| RGB | rgb(57, 80, 191) |
| HSL | hsl(230, 54%, 49%) |
| HSV | hsv(230, 70%, 75%) |
| CMYK | cmyk(70.2%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(38.49, 28.90, -60.90) |
| CIE-LCH | lch(38.49, 67.41, 295.38°) |
| OKLab | oklab(48.09% -0.001 -0.1756) |
| OKLCH | oklch(48.09% 0.176 269.7) |
| XYZ | xyz(13.9568, 10.3674, 50.5457) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.25
Blue Blue
#2242C7
ΔE00 4.36
Warm Blue
#4B57DB
ΔE00 5.04
Blue (survey)
#0343DF
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.63
Ocean Blue
#4F42B5
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950BF #BFA839
analogous
#3993BF #3950BF #6539BF
triadic
#3950BF #BF3950 #50BF39
tetradic
#3950BF #BF3993 #BFA839 #39BF65
square
#3950BF #BF3993 #BFA839 #39BF65
split-complementary
#3950BF #BF6539 #93BF39
monochromatic
#1D2961 #2B3C90 #3950BF #6477D1 #93A0DF
Accessibility & contrast
On white
6.83
#3950BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#3950BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950BF
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950BF | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3950bf; /* rgb */ color: rgb(57, 80, 191); /* oklch */ color: oklch(48.1% 0.176 269.7);
Tailwind
colors: {
custom: {
50: '#8080d3',
500: '#3950bf',
950: '#000000',
},
}SCSS
$custom: #3950bf; $custom-light: #8080d3; $custom-dark: #000000;
JSON
{
"hex": "#3950bf",
"rgb": {
"r": 57,
"g": 80,
"b": 191
},
"hsl": {
"h": 229.701,
"s": 54.032,
"l": 48.627
},
"oklch": {
"l": 0.48087,
"c": 0.17556,
"h": 269.7
},
"luminance": 0.10369
}Semantic roles & 50–950 ramp
primary
#3950BF
secondary
#CABF8A
accent
#C44ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83