#3856C2#3856C2
#3856C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.172 H 267.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3856C2 |
|---|---|
| RGB | rgb(56, 86, 194) |
| HSL | hsl(227, 55%, 49%) |
| HSV | hsv(227, 71%, 76%) |
| CMYK | cmyk(71.1%, 55.7%, 0%, 23.9%) |
| CIE-LAB | lab(40.23, 25.98, -59.84) |
| CIE-LCH | lch(40.23, 65.23, 293.47°) |
| OKLab | oklab(49.44% -0.0066 -0.1724) |
| OKLCH | oklch(49.44% 0.172 267.8) |
| XYZ | xyz(14.6929, 11.3899, 52.4526) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.75
Warm Blue
#4B57DB
ΔE00 4.63
Azul
#1D5DEC
ΔE00 5.58
Denim
#1560BD
ΔE00 6.02
Blue Blue
#2242C7
ΔE00 6.15
Cobalt
#0047AB
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3856C2 #C2A438
analogous
#389BC2 #3856C2 #5F38C2
triadic
#3856C2 #C23856 #56C238
tetradic
#3856C2 #C2389B #C2A438 #38C25F
square
#3856C2 #C2389B #C2A438 #38C25F
split-complementary
#3856C2 #C25F38 #9BC238
monochromatic
#1D2C63 #2A4193 #3856C2 #657DD2 #94A5E0
Accessibility & contrast
On white
6.41
#3856C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#3856C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3856C2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3856C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3856C2 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3856c2; /* rgb */ color: rgb(56, 86, 194); /* oklch */ color: oklch(49.4% 0.172 267.8);
Tailwind
colors: {
custom: {
50: '#8085d5',
500: '#3856c2',
950: '#000000',
},
}SCSS
$custom: #3856c2; $custom-light: #8085d5; $custom-dark: #000000;
JSON
{
"hex": "#3856c2",
"rgb": {
"r": 56,
"g": 86,
"b": 194
},
"hsl": {
"h": 226.957,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.49444,
"c": 0.17249,
"h": 267.8
},
"luminance": 0.11391
}Semantic roles & 50–950 ramp
primary
#3856C2
secondary
#CBBD8A
accent
#BE49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83