#3856AF#3856AF
#3856AF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.146 H 266.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3856AF |
|---|---|
| RGB | rgb(56, 86, 175) |
| HSL | hsl(225, 52%, 45%) |
| HSV | hsv(225, 68%, 69%) |
| CMYK | cmyk(68%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(38.88, 19.02, -50.88) |
| CIE-LCH | lch(38.88, 54.32, 290.50°) |
| OKLab | oklab(48% -0.0081 -0.146) |
| OKLCH | oklch(48% 0.146 266.8) |
| XYZ | xyz(12.6939, 10.5902, 41.9243) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.23
Denim Blue
#3B5B92
ΔE00 4.47
Dusky Blue
#475F94
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.45
Denim
#1560BD
ΔE00 5.58
Dusk Blue
#26538D
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3856AF #AF9138
analogous
#3891AF #3856AF #5538AF
triadic
#3856AF #AF3856 #56AF38
tetradic
#3856AF #AF3891 #AF9138 #38AF55
square
#3856AF #AF3891 #AF9138 #38AF55
split-complementary
#3856AF #AF5538 #91AF38
monochromatic
#1A2852 #293F81 #3856AF #5A76CA #889DD9
Accessibility & contrast
On white
6.73
#3856AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3856AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3856AF
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3856AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3856AF | 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)
#2261B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3856af; /* rgb */ color: rgb(56, 86, 175); /* oklch */ color: oklch(48.0% 0.146 266.8);
Tailwind
colors: {
custom: {
50: '#7c85c7',
500: '#3856af',
950: '#000000',
},
}SCSS
$custom: #3856af; $custom-light: #7c85c7; $custom-dark: #000000;
JSON
{
"hex": "#3856af",
"rgb": {
"r": 56,
"g": 86,
"b": 175
},
"hsl": {
"h": 224.874,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.47998,
"c": 0.14623,
"h": 266.8
},
"luminance": 0.10591
}Semantic roles & 50–950 ramp
primary
#3856AF
secondary
#C3B280
accent
#B74DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82