#3956BF#3956BF
#3956BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.168 H 268.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3956BF |
|---|---|
| RGB | rgb(57, 86, 191) |
| HSL | hsl(227, 54%, 49%) |
| HSV | hsv(227, 70%, 75%) |
| CMYK | cmyk(70.2%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(40.06, 25.02, -58.37) |
| CIE-LCH | lch(40.06, 63.50, 293.20°) |
| OKLab | oklab(49.26% -0.0058 -0.168) |
| OKLCH | oklch(49.26% 0.168 268) |
| XYZ | xyz(14.4159, 11.2856, 50.6987) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.67
Warm Blue
#4B57DB
ΔE00 4.92
Azul
#1D5DEC
ΔE00 5.93
Denim
#1560BD
ΔE00 5.99
Blue Blue
#2242C7
ΔE00 6.23
Cobalt
#0047AB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3956BF #BFA239
analogous
#3999BF #3956BF #5F39BF
triadic
#3956BF #BF3956 #56BF39
tetradic
#3956BF #BF3999 #BFA239 #39BF5F
square
#3956BF #BF3999 #BFA239 #39BF5F
split-complementary
#3956BF #BF5F39 #99BF39
monochromatic
#1D2C61 #2B4190 #3956BF #647CD1 #93A4DF
Accessibility & contrast
On white
6.45
#3956BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#3956BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3956BF
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3956BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3956BF | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3956bf; /* rgb */ color: rgb(57, 86, 191); /* oklch */ color: oklch(49.3% 0.168 268.0);
Tailwind
colors: {
custom: {
50: '#8085d3',
500: '#3956bf',
950: '#000000',
},
}SCSS
$custom: #3956bf; $custom-light: #8085d3; $custom-dark: #000000;
JSON
{
"hex": "#3956bf",
"rgb": {
"r": 57,
"g": 86,
"b": 191
},
"hsl": {
"h": 227.015,
"s": 54.032,
"l": 48.627
},
"oklch": {
"l": 0.49258,
"c": 0.16811,
"h": 268
},
"luminance": 0.11287
}Semantic roles & 50–950 ramp
primary
#3956BF
secondary
#CABC8A
accent
#BE4ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83