#3856CA#3856CA
#3856CA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.183 H 268.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3856CA |
|---|---|
| RGB | rgb(56, 86, 202) |
| HSL | hsl(228, 58%, 51%) |
| HSV | hsv(228, 72%, 79%) |
| CMYK | cmyk(72.3%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(40.83, 28.89, -63.50) |
| CIE-LCH | lch(40.83, 69.76, 294.46°) |
| OKLab | oklab(50.08% -0.0063 -0.1831) |
| OKLCH | oklch(50.08% 0.183 268) |
| XYZ | xyz(15.6157, 11.7590, 57.3124) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.67
Sapphire
#0F52BA
ΔE00 4.45
Azul
#1D5DEC
ΔE00 4.75
Blue (survey)
#0343DF
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.07
Electric Blue
#0652FF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3856CA #CAAC38
analogous
#389FCA #3856CA #6338CA
triadic
#3856CA #CA3856 #56CA38
tetradic
#3856CA #CA389F #CAAC38 #38CA63
square
#3856CA #CA389F #CAAC38 #38CA63
split-complementary
#3856CA #CA6338 #9FCA38
monochromatic
#1D2D6B #29419B #3856CA #687FD7 #99A8E4
Accessibility & contrast
On white
6.26
#3856CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#3856CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3856CA
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3856CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3856CA | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3856ca; /* rgb */ color: rgb(56, 86, 202); /* oklch */ color: oklch(50.1% 0.183 268.0);
Tailwind
colors: {
custom: {
50: '#8285db',
500: '#3856ca',
950: '#000000',
},
}SCSS
$custom: #3856ca; $custom-light: #8285db; $custom-dark: #000000;
JSON
{
"hex": "#3856ca",
"rgb": {
"r": 56,
"g": 86,
"b": 202
},
"hsl": {
"h": 227.671,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.50084,
"c": 0.18324,
"h": 268
},
"luminance": 0.11761
}Semantic roles & 50–950 ramp
primary
#3856CA
secondary
#CFC28E
accent
#C147E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83