#3954C2#3954C2
#3954C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.175 H 268.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3954C2 |
|---|---|
| RGB | rgb(57, 84, 194) |
| HSL | hsl(228, 55%, 49%) |
| HSV | hsv(228, 71%, 76%) |
| CMYK | cmyk(70.6%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.76, 27.40, -60.60) |
| CIE-LCH | lch(39.76, 66.51, 294.33°) |
| OKLab | oklab(49.1% -0.0041 -0.1746) |
| OKLCH | oklch(49.1% 0.175 268.7) |
| XYZ | xyz(14.5919, 11.1041, 52.4028) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.96
Warm Blue
#4B57DB
ΔE00 4.50
Blue Blue
#2242C7
ΔE00 5.50
Azul
#1D5DEC
ΔE00 5.93
Blue (survey)
#0343DF
ΔE00 6.03
Cobalt
#0047AB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954C2 #C2A739
analogous
#3999C2 #3954C2 #6339C2
triadic
#3954C2 #C23954 #54C239
tetradic
#3954C2 #C23999 #C2A739 #39C263
square
#3954C2 #C23999 #C2A739 #39C263
split-complementary
#3954C2 #C26339 #99C239
monochromatic
#1D2B63 #2B4093 #3954C2 #667BD2 #95A4E0
Accessibility & contrast
On white
6.52
#3954C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#3954C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954C2
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954C2 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3954c2; /* rgb */ color: rgb(57, 84, 194); /* oklch */ color: oklch(49.1% 0.175 268.7);
Tailwind
colors: {
custom: {
50: '#8183d5',
500: '#3954c2',
950: '#000000',
},
}SCSS
$custom: #3954c2; $custom-light: #8183d5; $custom-dark: #000000;
JSON
{
"hex": "#3954c2",
"rgb": {
"r": 57,
"g": 84,
"b": 194
},
"hsl": {
"h": 228.175,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.49101,
"c": 0.17467,
"h": 268.7
},
"luminance": 0.11106
}Semantic roles & 50–950 ramp
primary
#3954C2
secondary
#CBBF8B
accent
#C14ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83