#3951AC#3951AC
#3951AC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.148 H 268.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3951AC |
|---|---|
| RGB | rgb(57, 81, 172) |
| HSL | hsl(227, 50%, 45%) |
| HSV | hsv(227, 67%, 67%) |
| CMYK | cmyk(66.9%, 52.9%, 0%, 32.5%) |
| CIE-LAB | lab(37.36, 21.36, -51.56) |
| CIE-LCH | lch(37.36, 55.81, 292.50°) |
| OKLab | oklab(46.79% -0.0028 -0.1481) |
| OKLCH | oklch(46.79% 0.148 268.9) |
| XYZ | xyz(12.0736, 9.7321, 40.2639) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.80
Cobalt
#0047AB
ΔE00 4.62
Denim Blue
#3B5B92
ΔE00 5.40
Cobalt (survey)
#1E488F
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 6.01
Dusky Blue
#475F94
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3951AC #AC9439
analogous
#398BAC #3951AC #5A39AC
triadic
#3951AC #AC3951 #51AC39
tetradic
#3951AC #AC398B #AC9439 #39AC5A
square
#3951AC #AC398B #AC9439 #39AC5A
split-complementary
#3951AC #AC5A39 #8BAC39
monochromatic
#1B2650 #2A3B7E #3951AC #5A71C8 #8898D8
Accessibility & contrast
On white
7.13
#3951AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#3951AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3951AC
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3951AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3951AC | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175DAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3951ac; /* rgb */ color: rgb(57, 81, 172); /* oklch */ color: oklch(46.8% 0.148 268.9);
Tailwind
colors: {
custom: {
50: '#7c81c5',
500: '#3951ac',
950: '#000000',
},
}SCSS
$custom: #3951ac; $custom-light: #7c81c5; $custom-dark: #000000;
JSON
{
"hex": "#3951ac",
"rgb": {
"r": 57,
"g": 81,
"b": 172
},
"hsl": {
"h": 227.478,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.46791,
"c": 0.14809,
"h": 268.9
},
"luminance": 0.09733
}Semantic roles & 50–950 ramp
primary
#3951AC
secondary
#C2B47F
accent
#BD4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82