#3856AB#3856AB
#3856AB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.141 H 266.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3856AB |
|---|---|
| RGB | rgb(56, 86, 171) |
| HSL | hsl(224, 51%, 45%) |
| HSV | hsv(224, 67%, 67%) |
| CMYK | cmyk(67.3%, 49.7%, 0%, 32.9%) |
| CIE-LAB | lab(38.61, 17.55, -48.94) |
| CIE-LCH | lch(38.61, 52.00, 289.73°) |
| OKLab | oklab(47.71% -0.0086 -0.1403) |
| OKLCH | oklch(47.71% 0.141 266.5) |
| XYZ | xyz(12.3068, 10.4354, 39.8859) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.39
Denim Blue
#3B5B92
ΔE00 4.00
Dusky Blue
#475F94
ΔE00 4.80
Dusk Blue
#26538D
ΔE00 5.27
Cobalt
#0047AB
ΔE00 5.40
Denim
#1560BD
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3856AB #AB8D38
analogous
#3890AB #3856AB #5438AB
triadic
#3856AB #AB3856 #56AB38
tetradic
#3856AB #AB3890 #AB8D38 #38AB54
square
#3856AB #AB3890 #AB8D38 #38AB54
split-complementary
#3856AB #AB5438 #90AB38
monochromatic
#1A284F #293F7D #3856AB #5875C8 #869BD7
Accessibility & contrast
On white
6.80
#3856AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3856AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3856AB
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3856AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3856AB | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#0656A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3856ab; /* rgb */ color: rgb(56, 86, 171); /* oklch */ color: oklch(47.7% 0.141 266.5);
Tailwind
colors: {
custom: {
50: '#7b85c5',
500: '#3856ab',
950: '#000000',
},
}SCSS
$custom: #3856ab; $custom-light: #7b85c5; $custom-dark: #000000;
JSON
{
"hex": "#3856ab",
"rgb": {
"r": 56,
"g": 86,
"b": 171
},
"hsl": {
"h": 224.348,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.47708,
"c": 0.14057,
"h": 266.5
},
"luminance": 0.10437
}Semantic roles & 50–950 ramp
primary
#3856AB
secondary
#C1B07D
accent
#B54EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82