#3958C1#3958C1
#3958C1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.168 H 267.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3958C1 |
|---|---|
| RGB | rgb(57, 88, 193) |
| HSL | hsl(226, 54%, 49%) |
| HSV | hsv(226, 70%, 76%) |
| CMYK | cmyk(70.5%, 54.4%, 0%, 24.3%) |
| CIE-LAB | lab(40.73, 24.46, -58.44) |
| CIE-LCH | lch(40.73, 63.35, 292.71°) |
| OKLab | oklab(49.81% -0.0074 -0.1682) |
| OKLCH | oklch(49.81% 0.168 267.5) |
| XYZ | xyz(14.7994, 11.6981, 51.9197) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.84
Warm Blue
#4B57DB
ΔE00 4.81
Azul
#1D5DEC
ΔE00 5.44
Denim
#1560BD
ΔE00 5.51
Denim Blue
#3B5B92
ΔE00 6.41
Dusky Blue
#475F94
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3958C1 #C1A239
analogous
#399CC1 #3958C1 #5E39C1
triadic
#3958C1 #C13958 #58C139
tetradic
#3958C1 #C1399C #C1A239 #39C15E
square
#3958C1 #C1399C #C1A239 #39C15E
split-complementary
#3958C1 #C15E39 #9CC139
monochromatic
#1D2D63 #2B4292 #3958C1 #667ED2 #95A6E0
Accessibility & contrast
On white
6.29
#3958C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#3958C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3958C1
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3958C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3958C1 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3958c1; /* rgb */ color: rgb(57, 88, 193); /* oklch */ color: oklch(49.8% 0.168 267.5);
Tailwind
colors: {
custom: {
50: '#8086d4',
500: '#3958c1',
950: '#000000',
},
}SCSS
$custom: #3958c1; $custom-light: #8086d4; $custom-dark: #000000;
JSON
{
"hex": "#3958c1",
"rgb": {
"r": 57,
"g": 88,
"b": 193
},
"hsl": {
"h": 226.324,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.49812,
"c": 0.16835,
"h": 267.5
},
"luminance": 0.117
}Semantic roles & 50–950 ramp
primary
#3958C1
secondary
#CBBC8B
accent
#BC4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83