#3956B2#3956B2
#3956B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.150 H 267.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3956B2 |
|---|---|
| RGB | rgb(57, 86, 178) |
| HSL | hsl(226, 51%, 46%) |
| HSV | hsv(226, 68%, 70%) |
| CMYK | cmyk(68%, 51.7%, 0%, 30.2%) |
| CIE-LAB | lab(39.14, 20.28, -52.23) |
| CIE-LCH | lch(39.14, 56.03, 291.22°) |
| OKLab | oklab(48.27% -0.0069 -0.15) |
| OKLCH | oklch(48.27% 0.15 267.4) |
| XYZ | xyz(13.0482, 10.7385, 43.4959) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.30
Denim Blue
#3B5B92
ΔE00 4.88
Dusky Blue
#475F94
ΔE00 5.45
Cobalt
#0047AB
ΔE00 5.60
Denim
#1560BD
ΔE00 5.69
Dusk Blue
#26538D
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3956B2 #B29539
analogous
#3992B2 #3956B2 #5839B2
triadic
#3956B2 #B23956 #56B239
tetradic
#3956B2 #B23992 #B29539 #39B258
square
#3956B2 #B23992 #B29539 #39B258
split-complementary
#3956B2 #B25839 #92B239
monochromatic
#1B2955 #2A4084 #3956B2 #5D77CB #8B9EDA
Accessibility & contrast
On white
6.67
#3956B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3956B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3956B2
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3956B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3956B2 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3956b2; /* rgb */ color: rgb(57, 86, 178); /* oklch */ color: oklch(48.3% 0.150 267.4);
Tailwind
colors: {
custom: {
50: '#7d85ca',
500: '#3956b2',
950: '#000000',
},
}SCSS
$custom: #3956b2; $custom-light: #7d85ca; $custom-dark: #000000;
JSON
{
"hex": "#3956b2",
"rgb": {
"r": 57,
"g": 86,
"b": 178
},
"hsl": {
"h": 225.62,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.4827,
"c": 0.15013,
"h": 267.4
},
"luminance": 0.1074
}Semantic roles & 50–950 ramp
primary
#3956B2
secondary
#C4B582
accent
#B94DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82