#3958BA#3958BA
#3958BA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.159 H 267.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3958BA |
|---|---|
| RGB | rgb(57, 88, 186) |
| HSL | hsl(226, 53%, 48%) |
| HSV | hsv(226, 69%, 73%) |
| CMYK | cmyk(69.4%, 52.7%, 0%, 27.1%) |
| CIE-LAB | lab(40.23, 21.90, -55.16) |
| CIE-LCH | lch(40.23, 59.35, 291.65°) |
| OKLab | oklab(49.28% -0.0079 -0.1585) |
| OKLCH | oklch(49.28% 0.159 267.1) |
| XYZ | xyz(14.0369, 11.3931, 47.9042) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.48
Denim
#1560BD
ΔE00 5.23
Denim Blue
#3B5B92
ΔE00 5.55
Warm Blue
#4B57DB
ΔE00 5.71
Dusky Blue
#475F94
ΔE00 5.94
Azul
#1D5DEC
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3958BA #BA9B39
analogous
#3999BA #3958BA #5A39BA
triadic
#3958BA #BA3958 #58BA39
tetradic
#3958BA #BA3999 #BA9B39 #39BA5A
square
#3958BA #BA3999 #BA9B39 #39BA5A
split-complementary
#3958BA #BA5A39 #99BA39
monochromatic
#1C2C5C #2B428B #3958BA #617CCF #90A3DD
Accessibility & contrast
On white
6.40
#3958BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#3958BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3958BA
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3958BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3958BA | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3958ba; /* rgb */ color: rgb(57, 88, 186); /* oklch */ color: oklch(49.3% 0.159 267.1);
Tailwind
colors: {
custom: {
50: '#7f86cf',
500: '#3958ba',
950: '#000000',
},
}SCSS
$custom: #3958ba; $custom-light: #7f86cf; $custom-dark: #000000;
JSON
{
"hex": "#3958ba",
"rgb": {
"r": 57,
"g": 88,
"b": 186
},
"hsl": {
"h": 225.581,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.49279,
"c": 0.15874,
"h": 267.1
},
"luminance": 0.11394
}Semantic roles & 50–950 ramp
primary
#3958BA
secondary
#C8B887
accent
#BA4BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82