#3950B2#3950B2
#3950B2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.158 H 269.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3950B2 |
|---|---|
| RGB | rgb(57, 80, 178) |
| HSL | hsl(229, 51%, 46%) |
| HSV | hsv(229, 68%, 70%) |
| CMYK | cmyk(68%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(37.52, 24.19, -54.85) |
| CIE-LCH | lch(37.52, 59.95, 293.80°) |
| OKLab | oklab(47.05% -0.0015 -0.1578) |
| OKLCH | oklch(47.05% 0.158 269.5) |
| XYZ | xyz(12.5891, 9.8203, 43.3429) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.85
Cobalt
#0047AB
ΔE00 4.72
Blue Blue
#2242C7
ΔE00 5.18
Denim Blue
#3B5B92
ΔE00 6.24
Ocean Blue
#4F42B5
ΔE00 6.44
Cobalt (survey)
#1E488F
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950B2 #B29B39
analogous
#398CB2 #3950B2 #5E39B2
triadic
#3950B2 #B23950 #50B239
tetradic
#3950B2 #B2398C #B29B39 #39B25E
square
#3950B2 #B2398C #B29B39 #39B25E
split-complementary
#3950B2 #B25E39 #8CB239
monochromatic
#1B2655 #2A3B84 #3950B2 #5D72CB #8B9ADA
Accessibility & contrast
On white
7.08
#3950B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#3950B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3950B2
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950B2 | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3950b2; /* rgb */ color: rgb(57, 80, 178); /* oklch */ color: oklch(47.0% 0.158 269.5);
Tailwind
colors: {
custom: {
50: '#7e80ca',
500: '#3950b2',
950: '#000000',
},
}SCSS
$custom: #3950b2; $custom-light: #7e80ca; $custom-dark: #000000;
JSON
{
"hex": "#3950b2",
"rgb": {
"r": 57,
"g": 80,
"b": 178
},
"hsl": {
"h": 228.595,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.47049,
"c": 0.15777,
"h": 269.5
},
"luminance": 0.09822
}Semantic roles & 50–950 ramp
primary
#3950B2
secondary
#C4B882
accent
#C04DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82