#3958B2#3958B2
#3958B2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.148 H 266.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3958B2 |
|---|---|
| RGB | rgb(57, 88, 178) |
| HSL | hsl(225, 51%, 46%) |
| HSV | hsv(225, 68%, 70%) |
| CMYK | cmyk(68%, 50.6%, 0%, 30.2%) |
| CIE-LAB | lab(39.69, 18.97, -51.35) |
| CIE-LCH | lch(39.69, 54.74, 290.28°) |
| OKLab | oklab(48.69% -0.0087 -0.1473) |
| OKLCH | oklch(48.69% 0.148 266.6) |
| XYZ | xyz(13.2102, 11.0624, 43.5499) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.39
Denim Blue
#3B5B92
ΔE00 4.55
Dusky Blue
#475F94
ΔE00 5.08
Denim
#1560BD
ΔE00 5.09
Cobalt
#0047AB
ΔE00 6.04
Dusk Blue
#26538D
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3958B2 #B29339
analogous
#3994B2 #3958B2 #5639B2
triadic
#3958B2 #B23958 #58B239
tetradic
#3958B2 #B23994 #B29339 #39B256
square
#3958B2 #B23994 #B29339 #39B256
split-complementary
#3958B2 #B25639 #94B239
monochromatic
#1B2A55 #2A4184 #3958B2 #5D79CB #8BA0DA
Accessibility & contrast
On white
6.54
#3958B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3958B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3958B2
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3958B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3958B2 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3958b2; /* rgb */ color: rgb(57, 88, 178); /* oklch */ color: oklch(48.7% 0.148 266.6);
Tailwind
colors: {
custom: {
50: '#7d86ca',
500: '#3958b2',
950: '#000000',
},
}SCSS
$custom: #3958b2; $custom-light: #7d86ca; $custom-dark: #000000;
JSON
{
"hex": "#3958b2",
"rgb": {
"r": 57,
"g": 88,
"b": 178
},
"hsl": {
"h": 224.628,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.48687,
"c": 0.1476,
"h": 266.6
},
"luminance": 0.11064
}Semantic roles & 50–950 ramp
primary
#3958B2
secondary
#C4B382
accent
#B74DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82