#3956B7#3956B7
#3956B7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.157 H 267.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3956B7 |
|---|---|
| RGB | rgb(57, 86, 183) |
| HSL | hsl(226, 53%, 47%) |
| HSV | hsv(226, 69%, 72%) |
| CMYK | cmyk(68.9%, 53%, 0%, 28.2%) |
| CIE-LAB | lab(39.48, 22.10, -54.61) |
| CIE-LCH | lch(39.48, 58.92, 292.03°) |
| OKLab | oklab(48.64% -0.0064 -0.157) |
| OKLCH | oklch(48.64% 0.157 267.7) |
| XYZ | xyz(13.5594, 10.9430, 46.1882) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.33
Denim Blue
#3B5B92
ΔE00 5.48
Denim
#1560BD
ΔE00 5.75
Cobalt
#0047AB
ΔE00 5.80
Dusky Blue
#475F94
ΔE00 5.96
Warm Blue
#4B57DB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3956B7 #B79A39
analogous
#3995B7 #3956B7 #5B39B7
triadic
#3956B7 #B73956 #56B739
tetradic
#3956B7 #B73995 #B79A39 #39B75B
square
#3956B7 #B73995 #B79A39 #39B75B
split-complementary
#3956B7 #B75B39 #95B739
monochromatic
#1C2A5A #2A4088 #3956B7 #6079CD #8EA0DC
Accessibility & contrast
On white
6.59
#3956B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#3956B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3956B7
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3956B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3956B7 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1463BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3956b7; /* rgb */ color: rgb(57, 86, 183); /* oklch */ color: oklch(48.6% 0.157 267.7);
Tailwind
colors: {
custom: {
50: '#7e85cd',
500: '#3956b7',
950: '#000000',
},
}SCSS
$custom: #3956b7; $custom-light: #7e85cd; $custom-dark: #000000;
JSON
{
"hex": "#3956b7",
"rgb": {
"r": 57,
"g": 86,
"b": 183
},
"hsl": {
"h": 226.19,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.48644,
"c": 0.1571,
"h": 267.7
},
"luminance": 0.10944
}Semantic roles & 50–950 ramp
primary
#3956B7
secondary
#C7B885
accent
#BB4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82