#3856C5#3856C5
#3856C5 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.177 H 267.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3856C5 |
|---|---|
| RGB | rgb(56, 86, 197) |
| HSL | hsl(227, 56%, 50%) |
| HSV | hsv(227, 72%, 77%) |
| CMYK | cmyk(71.6%, 56.3%, 0%, 22.7%) |
| CIE-LAB | lab(40.45, 27.07, -61.22) |
| CIE-LCH | lch(40.45, 66.94, 293.86°) |
| OKLab | oklab(49.68% -0.0064 -0.1764) |
| OKLCH | oklch(49.68% 0.177 267.9) |
| XYZ | xyz(15.0332, 11.5260, 54.2450) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 4.26
Azul
#1D5DEC
ΔE00 5.26
Blue Blue
#2242C7
ΔE00 6.09
Denim
#1560BD
ΔE00 6.17
Blue (survey)
#0343DF
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3856C5 #C5A738
analogous
#389DC5 #3856C5 #6138C5
triadic
#3856C5 #C53856 #56C538
tetradic
#3856C5 #C5389D #C5A738 #38C561
square
#3856C5 #C5389D #C5A738 #38C561
split-complementary
#3856C5 #C56138 #9DC538
monochromatic
#1D2C66 #2A4195 #3856C5 #677ED4 #96A6E1
Accessibility & contrast
On white
6.35
#3856C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#3856C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3856C5
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3856C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3856C5 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3856c5; /* rgb */ color: rgb(56, 86, 197); /* oklch */ color: oklch(49.7% 0.177 267.9);
Tailwind
colors: {
custom: {
50: '#8185d7',
500: '#3856c5',
950: '#000000',
},
}SCSS
$custom: #3856c5; $custom-light: #8185d7; $custom-dark: #000000;
JSON
{
"hex": "#3856c5",
"rgb": {
"r": 56,
"g": 86,
"b": 197
},
"hsl": {
"h": 227.234,
"s": 55.731,
"l": 49.608
},
"oklch": {
"l": 0.49682,
"c": 0.17654,
"h": 267.9
},
"luminance": 0.11528
}Semantic roles & 50–950 ramp
primary
#3856C5
secondary
#CDBF8C
accent
#BF49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83