#3856C4#3856C4

#3856C4 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.175 H 267.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3856C4
RGBrgb(56, 86, 196)
HSLhsl(227, 56%, 49%)
HSVhsv(227, 71%, 77%)
CMYKcmyk(71.4%, 56.1%, 0%, 23.1%)
CIE-LABlab(40.38, 26.71, -60.76)
CIE-LCHlch(40.38, 66.37, 293.73°)
OKLaboklab(49.6% -0.0065 -0.1751)
OKLCHoklch(49.6% 0.175 267.9)
XYZxyz(14.9190, 11.4803, 53.6435)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3856C4 #C4A638
analogous
#389CC4 #3856C4 #6038C4
triadic
#3856C4 #C43856 #56C438
tetradic
#3856C4 #C4389C #C4A638 #38C460
square
#3856C4 #C4389C #C4A638 #38C460
split-complementary
#3856C4 #C46038 #9CC438
monochromatic
#1D2C65 #2A4194 #3856C4 #667DD3 #96A6E1

Accessibility & contrast

On white

6.37
#3856C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3856C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3856C4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3856C4#FFFFFF#000000##FFFFFF
##3856C41.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3856c4;
/* rgb */ color: rgb(56, 86, 196);
/* oklch */ color: oklch(49.6% 0.175 267.9);
Tailwind
colors: {
  custom: {
    50: '#8185d7',
    500: '#3856c4',
    950: '#000000',
  },
}
SCSS
$custom: #3856c4;
$custom-light: #8185d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3856c4",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 227.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49602,
    "c": 0.17519,
    "h": 267.9
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#3856C4
secondary
#CCBE8C
accent
#BF49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3856C4

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

Preview Lab → · Contrast checker → · Palette generator →

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