#3954C3#3954C3
#3954C3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.176 H 268.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3954C3 |
|---|---|
| RGB | rgb(57, 84, 195) |
| HSL | hsl(228, 55%, 49%) |
| HSV | hsv(228, 71%, 76%) |
| CMYK | cmyk(70.8%, 56.9%, 0%, 23.5%) |
| CIE-LAB | lab(39.83, 27.77, -61.06) |
| CIE-LCH | lch(39.83, 67.08, 294.45°) |
| OKLab | oklab(49.18% -0.004 -0.176) |
| OKLCH | oklch(49.18% 0.176 268.7) |
| XYZ | xyz(14.7046, 11.1491, 52.9962) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.03
Warm Blue
#4B57DB
ΔE00 4.38
Blue Blue
#2242C7
ΔE00 5.48
Azul
#1D5DEC
ΔE00 5.83
Blue (survey)
#0343DF
ΔE00 5.95
Cobalt
#0047AB
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954C3 #C3A839
analogous
#3999C3 #3954C3 #6339C3
triadic
#3954C3 #C33954 #54C339
tetradic
#3954C3 #C33999 #C3A839 #39C363
square
#3954C3 #C33999 #C3A839 #39C363
split-complementary
#3954C3 #C36339 #99C339
monochromatic
#1D2B64 #2B4094 #3954C3 #677CD2 #96A5E0
Accessibility & contrast
On white
6.50
#3954C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#3954C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954C3
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954C3 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3954c3; /* rgb */ color: rgb(57, 84, 195); /* oklch */ color: oklch(49.2% 0.176 268.7);
Tailwind
colors: {
custom: {
50: '#8183d6',
500: '#3954c3',
950: '#000000',
},
}SCSS
$custom: #3954c3; $custom-light: #8183d6; $custom-dark: #000000;
JSON
{
"hex": "#3954c3",
"rgb": {
"r": 57,
"g": 84,
"b": 195
},
"hsl": {
"h": 228.261,
"s": 54.762,
"l": 49.412
},
"oklch": {
"l": 0.49181,
"c": 0.17602,
"h": 268.7
},
"luminance": 0.11151
}Semantic roles & 50–950 ramp
primary
#3954C3
secondary
#CCBF8C
accent
#C14ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83