#3951C7#3951C7
#3951C7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.185 H 269.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #3951C7 |
|---|---|
| RGB | rgb(57, 81, 199) |
| HSL | hsl(230, 56%, 50%) |
| HSV | hsv(230, 71%, 78%) |
| CMYK | cmyk(71.4%, 59.3%, 0%, 22%) |
| CIE-LAB | lab(39.37, 31.14, -64.13) |
| CIE-LCH | lch(39.37, 71.29, 295.90°) |
| OKLab | oklab(48.94% -0.0017 -0.185) |
| OKLCH | oklch(48.94% 0.185 269.5) |
| XYZ | xyz(14.9350, 10.8767, 55.3341) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.06
Blue Blue
#2242C7
ΔE00 4.53
Sapphire
#0F52BA
ΔE00 4.67
Blue (survey)
#0343DF
ΔE00 4.92
Azul
#1D5DEC
ΔE00 6.06
Iris
#6258C4
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3951C7 #C7AF39
analogous
#3998C7 #3951C7 #6839C7
triadic
#3951C7 #C73951 #51C739
tetradic
#3951C7 #C73998 #C7AF39 #39C768
square
#3951C7 #C73998 #C7AF39 #39C768
split-complementary
#3951C7 #C76839 #98C739
monochromatic
#1D2A68 #2B3D98 #3951C7 #697BD4 #98A5E2
Accessibility & contrast
On white
6.61
#3951C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#3951C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3951C7
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3951C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3951C7 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3951c7; /* rgb */ color: rgb(57, 81, 199); /* oklch */ color: oklch(48.9% 0.185 269.5);
Tailwind
colors: {
custom: {
50: '#8281d9',
500: '#3951c7',
950: '#000000',
},
}SCSS
$custom: #3951c7; $custom-light: #8281d9; $custom-dark: #000000;
JSON
{
"hex": "#3951c7",
"rgb": {
"r": 57,
"g": 81,
"b": 199
},
"hsl": {
"h": 229.859,
"s": 55.906,
"l": 50.196
},
"oklch": {
"l": 0.48936,
"c": 0.18504,
"h": 269.5
},
"luminance": 0.10878
}Semantic roles & 50–950 ramp
primary
#3951C7
secondary
#CEC38E
accent
#C649DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83