#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
RGBrgb(56, 86, 202)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 72%, 79%)
CMYKcmyk(72.3%, 57.4%, 0%, 20.8%)
CIE-LABlab(40.83, 28.89, -63.50)
CIE-LCHlch(40.83, 69.76, 294.46°)
OKLaboklab(50.08% -0.0063 -0.1831)
OKLCHoklch(50.08% 0.183 268)
XYZxyz(15.6157, 11.7590, 57.3124)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##3856CA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.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

Preview Lab

Preview with #3856CA

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

Preview Lab → · Contrast checker → · Palette generator →

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