#3958B9#3958B9
#3958B9 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.157 H 267.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #3958B9 |
|---|---|
| RGB | rgb(57, 88, 185) |
| HSL | hsl(225, 53%, 47%) |
| HSV | hsv(225, 69%, 73%) |
| CMYK | cmyk(69.2%, 52.4%, 0%, 27.5%) |
| CIE-LAB | lab(40.16, 21.53, -54.68) |
| CIE-LCH | lch(40.16, 58.77, 291.49°) |
| OKLab | oklab(49.2% -0.008 -0.1572) |
| OKLCH | oklch(49.2% 0.157 267.1) |
| XYZ | xyz(13.9310, 11.3507, 47.3463) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.45
Denim
#1560BD
ΔE00 5.20
Denim Blue
#3B5B92
ΔE00 5.42
Dusky Blue
#475F94
ΔE00 5.83
Warm Blue
#4B57DB
ΔE00 5.84
Cobalt
#0047AB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3958B9 #B99A39
analogous
#3998B9 #3958B9 #5A39B9
triadic
#3958B9 #B93958 #58B939
tetradic
#3958B9 #B93998 #B99A39 #39B95A
square
#3958B9 #B93998 #B99A39 #39B95A
split-complementary
#3958B9 #B95A39 #98B939
monochromatic
#1C2B5B #2B428A #3958B9 #617BCE #90A2DD
Accessibility & contrast
On white
6.42
#3958B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#3958B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3958B9
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3958B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3958B9 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1965BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3958b9; /* rgb */ color: rgb(57, 88, 185); /* oklch */ color: oklch(49.2% 0.157 267.1);
Tailwind
colors: {
custom: {
50: '#7f86cf',
500: '#3958b9',
950: '#000000',
},
}SCSS
$custom: #3958b9; $custom-light: #7f86cf; $custom-dark: #000000;
JSON
{
"hex": "#3958b9",
"rgb": {
"r": 57,
"g": 88,
"b": 185
},
"hsl": {
"h": 225.469,
"s": 52.893,
"l": 47.451
},
"oklch": {
"l": 0.49204,
"c": 0.15735,
"h": 267.1
},
"luminance": 0.11352
}Semantic roles & 50–950 ramp
primary
#3958B9
secondary
#C8B886
accent
#B94BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82