#3956AB#3956AB
#3956AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.140 H 266.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3956AB |
|---|---|
| RGB | rgb(57, 86, 171) |
| HSL | hsl(225, 50%, 45%) |
| HSV | hsv(225, 67%, 67%) |
| CMYK | cmyk(66.7%, 49.7%, 0%, 32.9%) |
| CIE-LAB | lab(38.66, 17.72, -48.86) |
| CIE-LCH | lch(38.66, 51.97, 289.93°) |
| OKLab | oklab(47.76% -0.0077 -0.14) |
| OKLCH | oklch(47.76% 0.14 266.9) |
| XYZ | xyz(12.3633, 10.4645, 39.8885) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.51
Denim Blue
#3B5B92
ΔE00 4.05
Dusky Blue
#475F94
ΔE00 4.78
Dusk Blue
#26538D
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.47
Denim
#1560BD
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3956AB #AB8E39
analogous
#398FAB #3956AB #5539AB
triadic
#3956AB #AB3956 #56AB39
tetradic
#3956AB #AB398F #AB8E39 #39AB55
square
#3956AB #AB398F #AB8E39 #39AB55
split-complementary
#3956AB #AB5539 #8FAB39
monochromatic
#1A284F #2A3F7D #3956AB #5975C8 #879CD7
Accessibility & contrast
On white
6.79
#3956AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3956AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3956AB
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3956AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3956AB | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2861AE
Deuteranopia (green-blind)
#0856A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3956ab; /* rgb */ color: rgb(57, 86, 171); /* oklch */ color: oklch(47.8% 0.140 266.9);
Tailwind
colors: {
custom: {
50: '#7c85c4',
500: '#3956ab',
950: '#000000',
},
}SCSS
$custom: #3956ab; $custom-light: #7c85c4; $custom-dark: #000000;
JSON
{
"hex": "#3956ab",
"rgb": {
"r": 57,
"g": 86,
"b": 171
},
"hsl": {
"h": 224.737,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.4776,
"c": 0.14025,
"h": 266.9
},
"luminance": 0.10466
}Semantic roles & 50–950 ramp
primary
#3956AB
secondary
#C1B07F
accent
#B64EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82