#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
RGBrgb(56, 86, 197)
HSLhsl(227, 56%, 50%)
HSVhsv(227, 72%, 77%)
CMYKcmyk(71.6%, 56.3%, 0%, 22.7%)
CIE-LABlab(40.45, 27.07, -61.22)
CIE-LCHlch(40.45, 66.94, 293.86°)
OKLaboklab(49.68% -0.0064 -0.1764)
OKLCHoklch(49.68% 0.177 267.9)
XYZxyz(15.0332, 11.5260, 54.2450)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##3856C51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.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

Preview Lab

Preview with #3856C5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3856C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva