#3956AD#3956AD
#3956AD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.143 H 267.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3956AD |
|---|---|
| RGB | rgb(57, 86, 173) |
| HSL | hsl(225, 50%, 45%) |
| HSV | hsv(225, 67%, 68%) |
| CMYK | cmyk(67.1%, 50.3%, 0%, 32.2%) |
| CIE-LAB | lab(38.80, 18.45, -49.83) |
| CIE-LCH | lch(38.80, 53.13, 290.32°) |
| OKLab | oklab(47.9% -0.0074 -0.1429) |
| OKLCH | oklch(47.9% 0.143 267) |
| XYZ | xyz(12.5554, 10.5414, 40.9001) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.42
Denim Blue
#3B5B92
ΔE00 4.28
Dusky Blue
#475F94
ΔE00 4.97
Cobalt
#0047AB
ΔE00 5.49
Dusk Blue
#26538D
ΔE00 5.60
Denim
#1560BD
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3956AD #AD9039
analogous
#3990AD #3956AD #5639AD
triadic
#3956AD #AD3956 #56AD39
tetradic
#3956AD #AD3990 #AD9039 #39AD56
square
#3956AD #AD3990 #AD9039 #39AD56
split-complementary
#3956AD #AD5639 #90AD39
monochromatic
#1B2851 #2A3F7F #3956AD #5A76C9 #889CD8
Accessibility & contrast
On white
6.76
#3956AD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#3956AD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3956AD
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3956AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3956AD | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2561B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3956ad; /* rgb */ color: rgb(57, 86, 173); /* oklch */ color: oklch(47.9% 0.143 267.0);
Tailwind
colors: {
custom: {
50: '#7c85c6',
500: '#3956ad',
950: '#000000',
},
}SCSS
$custom: #3956ad; $custom-light: #7c85c6; $custom-dark: #000000;
JSON
{
"hex": "#3956ad",
"rgb": {
"r": 57,
"g": 86,
"b": 173
},
"hsl": {
"h": 225,
"s": 50.435,
"l": 45.098
},
"oklch": {
"l": 0.47904,
"c": 0.14308,
"h": 267
},
"luminance": 0.10543
}Semantic roles & 50–950 ramp
primary
#3956AD
secondary
#C2B280
accent
#B74EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82