#3954C1#3954C1
#3954C1 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.173 H 268.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3954C1 |
|---|---|
| RGB | rgb(57, 84, 193) |
| HSL | hsl(228, 54%, 49%) |
| HSV | hsv(228, 70%, 76%) |
| CMYK | cmyk(70.5%, 56.5%, 0%, 24.3%) |
| CIE-LAB | lab(39.68, 27.04, -60.14) |
| CIE-LCH | lch(39.68, 65.94, 294.21°) |
| OKLab | oklab(49.02% -0.0041 -0.1733) |
| OKLCH | oklch(49.02% 0.173 268.6) |
| XYZ | xyz(14.4800, 11.0593, 51.8133) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.88
Warm Blue
#4B57DB
ΔE00 4.62
Blue Blue
#2242C7
ΔE00 5.52
Azul
#1D5DEC
ΔE00 6.03
Blue (survey)
#0343DF
ΔE00 6.11
Cobalt
#0047AB
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954C1 #C1A639
analogous
#3998C1 #3954C1 #6239C1
triadic
#3954C1 #C13954 #54C139
tetradic
#3954C1 #C13998 #C1A639 #39C162
square
#3954C1 #C13998 #C1A639 #39C162
split-complementary
#3954C1 #C16239 #98C139
monochromatic
#1D2B63 #2B3F92 #3954C1 #667BD2 #95A4E0
Accessibility & contrast
On white
6.54
#3954C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3954C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954C1
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954C1 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3954c1; /* rgb */ color: rgb(57, 84, 193); /* oklch */ color: oklch(49.0% 0.173 268.6);
Tailwind
colors: {
custom: {
50: '#8183d5',
500: '#3954c1',
950: '#000000',
},
}SCSS
$custom: #3954c1; $custom-light: #8183d5; $custom-dark: #000000;
JSON
{
"hex": "#3954c1",
"rgb": {
"r": 57,
"g": 84,
"b": 193
},
"hsl": {
"h": 228.088,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.49022,
"c": 0.17332,
"h": 268.6
},
"luminance": 0.11061
}Semantic roles & 50–950 ramp
primary
#3954C1
secondary
#CBBE8B
accent
#C04ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83