#3951C3#3951C3
#3951C3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.180 H 269.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3951C3 |
|---|---|
| RGB | rgb(57, 81, 195) |
| HSL | hsl(230, 55%, 49%) |
| HSV | hsv(230, 71%, 76%) |
| CMYK | cmyk(70.8%, 58.5%, 0%, 23.5%) |
| CIE-LAB | lab(39.06, 29.70, -62.32) |
| CIE-LCH | lch(39.06, 69.03, 295.48°) |
| OKLab | oklab(48.61% -0.0017 -0.1797) |
| OKLCH | oklch(48.61% 0.18 269.5) |
| XYZ | xyz(14.4767, 10.6934, 52.9203) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.50
Blue Blue
#2242C7
ΔE00 4.56
Blue (survey)
#0343DF
ΔE00 5.22
Cobalt
#0047AB
ΔE00 6.05
Iris
#6258C4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3951C3 #C3AB39
analogous
#3996C3 #3951C3 #6639C3
triadic
#3951C3 #C33951 #51C339
tetradic
#3951C3 #C33996 #C3AB39 #39C366
square
#3951C3 #C33996 #C3AB39 #39C366
split-complementary
#3951C3 #C36639 #96C339
monochromatic
#1D2A64 #2B3D94 #3951C3 #6779D2 #96A3E0
Accessibility & contrast
On white
6.69
#3951C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#3951C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3951C3
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3951C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3951C3 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3951c3; /* rgb */ color: rgb(57, 81, 195); /* oklch */ color: oklch(48.6% 0.180 269.5);
Tailwind
colors: {
custom: {
50: '#8181d6',
500: '#3951c3',
950: '#000000',
},
}SCSS
$custom: #3951c3; $custom-light: #8181d6; $custom-dark: #000000;
JSON
{
"hex": "#3951c3",
"rgb": {
"r": 57,
"g": 81,
"b": 195
},
"hsl": {
"h": 229.565,
"s": 54.762,
"l": 49.412
},
"oklch": {
"l": 0.48605,
"c": 0.17971,
"h": 269.5
},
"luminance": 0.10695
}Semantic roles & 50–950 ramp
primary
#3951C3
secondary
#CCC18C
accent
#C44ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83