#3857AB#3857AB
#3857AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.139 H 266.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3857AB |
|---|---|
| RGB | rgb(56, 87, 171) |
| HSL | hsl(224, 51%, 45%) |
| HSV | hsv(224, 67%, 67%) |
| CMYK | cmyk(67.3%, 49.1%, 0%, 32.9%) |
| CIE-LAB | lab(38.89, 16.90, -48.49) |
| CIE-LCH | lch(38.89, 51.35, 289.21°) |
| OKLab | oklab(47.92% -0.0096 -0.139) |
| OKLCH | oklch(47.92% 0.139 266.1) |
| XYZ | xyz(12.3872, 10.5962, 39.9127) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.44
Denim Blue
#3B5B92
ΔE00 3.80
Dusky Blue
#475F94
ΔE00 4.60
Dusk Blue
#26538D
ΔE00 5.21
Denim
#1560BD
ΔE00 5.32
Cobalt
#0047AB
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3857AB #AB8C38
analogous
#3891AB #3857AB #5338AB
triadic
#3857AB #AB3857 #57AB38
tetradic
#3857AB #AB3891 #AB8C38 #38AB53
square
#3857AB #AB3891 #AB8C38 #38AB53
split-complementary
#3857AB #AB5338 #91AB38
monochromatic
#1A284F #29407D #3857AB #5876C8 #869CD7
Accessibility & contrast
On white
6.73
#3857AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3857AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3857AB
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3857AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3857AB | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#0C57A9
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3857ab; /* rgb */ color: rgb(56, 87, 171); /* oklch */ color: oklch(47.9% 0.139 266.1);
Tailwind
colors: {
custom: {
50: '#7b85c4',
500: '#3857ab',
950: '#000000',
},
}SCSS
$custom: #3857ab; $custom-light: #7b85c4; $custom-dark: #000000;
JSON
{
"hex": "#3857ab",
"rgb": {
"r": 56,
"g": 87,
"b": 171
},
"hsl": {
"h": 223.826,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.4792,
"c": 0.1393,
"h": 266.1
},
"luminance": 0.10597
}Semantic roles & 50–950 ramp
primary
#3857AB
secondary
#C1AF7D
accent
#B44EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82