#3951C1#3951C1
#3951C1 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.177 H 269.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3951C1 |
|---|---|
| RGB | rgb(57, 81, 193) |
| HSL | hsl(229, 54%, 49%) |
| HSV | hsv(229, 70%, 76%) |
| CMYK | cmyk(70.5%, 58%, 0%, 24.3%) |
| CIE-LAB | lab(38.90, 28.98, -61.40) |
| CIE-LCH | lch(38.90, 67.90, 295.26°) |
| OKLab | oklab(48.44% -0.0017 -0.177) |
| OKLCH | oklch(48.44% 0.177 269.4) |
| XYZ | xyz(14.2521, 10.6035, 51.7373) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.21
Blue Blue
#2242C7
ΔE00 4.60
Warm Blue
#4B57DB
ΔE00 4.73
Blue (survey)
#0343DF
ΔE00 5.39
Cobalt
#0047AB
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3951C1 #C1A939
analogous
#3995C1 #3951C1 #6539C1
triadic
#3951C1 #C13951 #51C139
tetradic
#3951C1 #C13995 #C1A939 #39C165
square
#3951C1 #C13995 #C1A939 #39C165
split-complementary
#3951C1 #C16539 #95C139
monochromatic
#1D2963 #2B3D92 #3951C1 #6679D2 #95A2E0
Accessibility & contrast
On white
6.73
#3951C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3951C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3951C1
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3951C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3951C1 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3951c1; /* rgb */ color: rgb(57, 81, 193); /* oklch */ color: oklch(48.4% 0.177 269.4);
Tailwind
colors: {
custom: {
50: '#8181d5',
500: '#3951c1',
950: '#000000',
},
}SCSS
$custom: #3951c1; $custom-light: #8181d5; $custom-dark: #000000;
JSON
{
"hex": "#3951c1",
"rgb": {
"r": 57,
"g": 81,
"b": 193
},
"hsl": {
"h": 229.412,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.48442,
"c": 0.17702,
"h": 269.4
},
"luminance": 0.10605
}Semantic roles & 50–950 ramp
primary
#3951C1
secondary
#CBC08B
accent
#C44ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83