#3950AA#3950AA
#3950AA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.147 H 269.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3950AA |
|---|---|
| RGB | rgb(57, 80, 170) |
| HSL | hsl(228, 50%, 45%) |
| HSV | hsv(228, 66%, 67%) |
| CMYK | cmyk(66.5%, 52.9%, 0%, 33.3%) |
| CIE-LAB | lab(36.95, 21.28, -51.04) |
| CIE-LCH | lch(36.95, 55.30, 292.64°) |
| OKLab | oklab(46.43% -0.0021 -0.1465) |
| OKLCH | oklch(46.43% 0.147 269.2) |
| XYZ | xyz(11.8092, 9.5084, 39.2354) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.03
Cobalt
#0047AB
ΔE00 4.48
Denim Blue
#3B5B92
ΔE00 5.50
Cobalt (survey)
#1E488F
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 5.96
Dusk Blue
#26538D
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950AA #AA9339
analogous
#3988AA #3950AA #5B39AA
triadic
#3950AA #AA3950 #50AA39
tetradic
#3950AA #AA3988 #AA9339 #39AA5B
square
#3950AA #AA3988 #AA9339 #39AA5B
split-complementary
#3950AA #AA5B39 #88AA39
monochromatic
#1A254E #2A3A7C #3950AA #596FC7 #8797D7
Accessibility & contrast
On white
7.24
#3950AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#3950AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3950AA
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950AA | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3950aa; /* rgb */ color: rgb(57, 80, 170); /* oklch */ color: oklch(46.4% 0.147 269.2);
Tailwind
colors: {
custom: {
50: '#7c80c4',
500: '#3950aa',
950: '#000000',
},
}SCSS
$custom: #3950aa; $custom-light: #7c80c4; $custom-dark: #000000;
JSON
{
"hex": "#3950aa",
"rgb": {
"r": 57,
"g": 80,
"b": 170
},
"hsl": {
"h": 227.788,
"s": 49.78,
"l": 44.51
},
"oklch": {
"l": 0.46435,
"c": 0.14655,
"h": 269.2
},
"luminance": 0.09509
}Semantic roles & 50–950 ramp
primary
#3950AA
secondary
#C1B37E
accent
#BD4ED9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82