#3955C1#3955C1
#3955C1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.172 H 268.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3955C1 |
|---|---|
| RGB | rgb(57, 85, 193) |
| HSL | hsl(228, 54%, 49%) |
| HSV | hsv(228, 70%, 76%) |
| CMYK | cmyk(70.5%, 56%, 0%, 24.3%) |
| CIE-LAB | lab(39.94, 26.40, -59.72) |
| CIE-LCH | lch(39.94, 65.29, 293.85°) |
| OKLab | oklab(49.22% -0.0049 -0.172) |
| OKLCH | oklch(49.22% 0.172 268.4) |
| XYZ | xyz(14.5582, 11.2156, 51.8393) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.83
Warm Blue
#4B57DB
ΔE00 4.64
Blue Blue
#2242C7
ΔE00 5.84
Azul
#1D5DEC
ΔE00 5.86
Cobalt
#0047AB
ΔE00 6.29
Blue (survey)
#0343DF
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3955C1 #C1A539
analogous
#3999C1 #3955C1 #6139C1
triadic
#3955C1 #C13955 #55C139
tetradic
#3955C1 #C13999 #C1A539 #39C161
square
#3955C1 #C13999 #C1A539 #39C161
split-complementary
#3955C1 #C16139 #99C139
monochromatic
#1D2B63 #2B4092 #3955C1 #667CD2 #95A4E0
Accessibility & contrast
On white
6.47
#3955C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#3955C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3955C1
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3955C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3955C1 | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3955c1; /* rgb */ color: rgb(57, 85, 193); /* oklch */ color: oklch(49.2% 0.172 268.4);
Tailwind
colors: {
custom: {
50: '#8084d4',
500: '#3955c1',
950: '#000000',
},
}SCSS
$custom: #3955c1; $custom-light: #8084d4; $custom-dark: #000000;
JSON
{
"hex": "#3955c1",
"rgb": {
"r": 57,
"g": 85,
"b": 193
},
"hsl": {
"h": 227.647,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.49217,
"c": 0.17208,
"h": 268.4
},
"luminance": 0.11217
}Semantic roles & 50–950 ramp
primary
#3955C1
secondary
#CBBE8B
accent
#BF4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83