#3954C6#3954C6
#3954C6 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.180 H 268.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3954C6 |
|---|---|
| RGB | rgb(57, 84, 198) |
| HSL | hsl(229, 55%, 50%) |
| HSV | hsv(229, 71%, 78%) |
| CMYK | cmyk(71.2%, 57.6%, 0%, 22.4%) |
| CIE-LAB | lab(40.06, 28.85, -62.44) |
| CIE-LCH | lch(40.06, 68.78, 294.80°) |
| OKLab | oklab(49.42% -0.004 -0.18) |
| OKLCH | oklch(49.42% 0.18 268.7) |
| XYZ | xyz(15.0472, 11.2862, 54.8006) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.02
Sapphire
#0F52BA
ΔE00 4.27
Blue Blue
#2242C7
ΔE00 5.44
Azul
#1D5DEC
ΔE00 5.53
Blue (survey)
#0343DF
ΔE00 5.74
Iris
#6258C4
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954C6 #C6AB39
analogous
#399AC6 #3954C6 #6539C6
triadic
#3954C6 #C63954 #54C639
tetradic
#3954C6 #C6399A #C6AB39 #39C665
square
#3954C6 #C6399A #C6AB39 #39C665
split-complementary
#3954C6 #C66539 #9AC639
monochromatic
#1E2C67 #2B4096 #3954C6 #697DD4 #98A6E1
Accessibility & contrast
On white
6.45
#3954C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#3954C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954C6
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954C6 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3954c6; /* rgb */ color: rgb(57, 84, 198); /* oklch */ color: oklch(49.4% 0.180 268.7);
Tailwind
colors: {
custom: {
50: '#8283d8',
500: '#3954c6',
950: '#000000',
},
}SCSS
$custom: #3954c6; $custom-light: #8283d8; $custom-dark: #000000;
JSON
{
"hex": "#3954c6",
"rgb": {
"r": 57,
"g": 84,
"b": 198
},
"hsl": {
"h": 228.511,
"s": 55.294,
"l": 50
},
"oklch": {
"l": 0.49423,
"c": 0.18005,
"h": 268.7
},
"luminance": 0.11288
}Semantic roles & 50–950 ramp
primary
#3954C6
secondary
#CDC18E
accent
#C249DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A15
muted
#7D7C83