#3856CD#3856CD

#3856CD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.187 H 268.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3856CD
RGBrgb(56, 86, 205)
HSLhsl(228, 60%, 51%)
HSVhsv(228, 73%, 80%)
CMYKcmyk(72.7%, 58%, 0%, 19.6%)
CIE-LABlab(41.06, 29.98, -64.86)
CIE-LCHlch(41.06, 71.45, 294.81°)
OKLaboklab(50.33% -0.0062 -0.1871)
OKLCHoklch(50.33% 0.187 268.1)
XYZxyz(15.9743, 11.9024, 59.2013)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3856CD #CDAF38
analogous
#38A1CD #3856CD #6438CD
triadic
#3856CD #CD3856 #56CD38
tetradic
#3856CD #CD38A1 #CDAF38 #38CD64
square
#3856CD #CD38A1 #CDAF38 #38CD64
split-complementary
#3856CD #CD6438 #A1CD38
monochromatic
#1C2D6F #2840A0 #3856CD #6980D9 #9AA9E6

Accessibility & contrast

On white

6.21
#3856CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3856CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3856CD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3856CD#FFFFFF#000000##FFFFFF
##3856CD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3856cd;
/* rgb */ color: rgb(56, 86, 205);
/* oklch */ color: oklch(50.3% 0.187 268.1);
Tailwind
colors: {
  custom: {
    50: '#8385dd',
    500: '#3856cd',
    950: '#000000',
  },
}
SCSS
$custom: #3856cd;
$custom-light: #8385dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3856cd",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 227.919,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.18722,
    "h": 268.1
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#3856CD
secondary
#D1C48F
accent
#C345E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3856CD

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

Preview Lab → · Contrast checker → · Palette generator →

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