#3958C7#3958C7
#3958C7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.176 H 267.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3958C7 |
|---|---|
| RGB | rgb(57, 88, 199) |
| HSL | hsl(227, 56%, 50%) |
| HSV | hsv(227, 71%, 78%) |
| CMYK | cmyk(71.4%, 55.8%, 0%, 22%) |
| CIE-LAB | lab(41.17, 26.64, -61.21) |
| CIE-LCH | lch(41.17, 66.76, 293.52°) |
| OKLab | oklab(50.28% -0.007 -0.1763) |
| OKLCH | oklch(50.28% 0.176 267.7) |
| XYZ | xyz(15.4823, 11.9712, 55.5165) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.08
Sapphire
#0F52BA
ΔE00 4.30
Azul
#1D5DEC
ΔE00 4.76
Denim
#1560BD
ΔE00 5.85
Iris
#6258C4
ΔE00 6.49
Royal Blue
#4169E1
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3958C7 #C7A839
analogous
#399FC7 #3958C7 #6139C7
triadic
#3958C7 #C73958 #58C739
tetradic
#3958C7 #C7399F #C7A839 #39C761
square
#3958C7 #C7399F #C7A839 #39C761
split-complementary
#3958C7 #C76139 #9FC739
monochromatic
#1D2E68 #2B4398 #3958C7 #6980D4 #98A8E2
Accessibility & contrast
On white
6.19
#3958C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#3958C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3958C7
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3958C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3958C7 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3958c7; /* rgb */ color: rgb(57, 88, 199); /* oklch */ color: oklch(50.3% 0.176 267.7);
Tailwind
colors: {
custom: {
50: '#8286d9',
500: '#3958c7',
950: '#000000',
},
}SCSS
$custom: #3958c7; $custom-light: #8286d9; $custom-dark: #000000;
JSON
{
"hex": "#3958c7",
"rgb": {
"r": 57,
"g": 88,
"b": 199
},
"hsl": {
"h": 226.901,
"s": 55.906,
"l": 50.196
},
"oklch": {
"l": 0.5028,
"c": 0.17648,
"h": 267.7
},
"luminance": 0.11973
}Semantic roles & 50–950 ramp
primary
#3958C7
secondary
#CEC08E
accent
#BE49DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83