#3951AE#3951AE
#3951AE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.151 H 269.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3951AE |
|---|---|
| RGB | rgb(57, 81, 174) |
| HSL | hsl(228, 51%, 45%) |
| HSV | hsv(228, 67%, 68%) |
| CMYK | cmyk(67.2%, 53.4%, 0%, 31.8%) |
| CIE-LAB | lab(37.50, 22.08, -52.52) |
| CIE-LCH | lch(37.50, 56.97, 292.81°) |
| OKLab | oklab(46.94% -0.0027 -0.1509) |
| OKLCH | oklch(46.94% 0.151 269) |
| XYZ | xyz(12.2671, 9.8096, 41.2831) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.74
Cobalt
#0047AB
ΔE00 4.67
Denim Blue
#3B5B92
ΔE00 5.59
Blue Blue
#2242C7
ΔE00 5.81
Cobalt (survey)
#1E488F
ΔE00 6.01
Dusky Blue
#475F94
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3951AE #AE9639
analogous
#398CAE #3951AE #5B39AE
triadic
#3951AE #AE3951 #51AE39
tetradic
#3951AE #AE398C #AE9639 #39AE5B
square
#3951AE #AE398C #AE9639 #39AE5B
split-complementary
#3951AE #AE5B39 #8CAE39
monochromatic
#1B2652 #2A3C80 #3951AE #5B72C9 #8999D8
Accessibility & contrast
On white
7.09
#3951AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#3951AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3951AE
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3951AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3951AE | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#125EB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3951ae; /* rgb */ color: rgb(57, 81, 174); /* oklch */ color: oklch(46.9% 0.151 269.0);
Tailwind
colors: {
custom: {
50: '#7d81c7',
500: '#3951ae',
950: '#000000',
},
}SCSS
$custom: #3951ae; $custom-light: #7d81c7; $custom-dark: #000000;
JSON
{
"hex": "#3951ae",
"rgb": {
"r": 57,
"g": 81,
"b": 174
},
"hsl": {
"h": 227.692,
"s": 50.649,
"l": 45.294
},
"oklch": {
"l": 0.46943,
"c": 0.1509,
"h": 269
},
"luminance": 0.09811
}Semantic roles & 50–950 ramp
primary
#3951AE
secondary
#C3B580
accent
#BD4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82