#3856CB#3856CB

#3856CB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.185 H 268.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3856CB
RGBrgb(56, 86, 203)
HSLhsl(228, 59%, 51%)
HSVhsv(228, 72%, 80%)
CMYKcmyk(72.4%, 57.6%, 0%, 20.4%)
CIE-LABlab(40.91, 29.25, -63.95)
CIE-LCHlch(40.91, 70.33, 294.58°)
OKLaboklab(50.17% -0.0062 -0.1845)
OKLCHoklch(50.17% 0.185 268.1)
XYZxyz(15.7344, 11.8065, 57.9380)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3856CB #CBAD38
analogous
#389FCB #3856CB #6338CB
triadic
#3856CB #CB3856 #56CB38
tetradic
#3856CB #CB389F #CBAD38 #38CB63
square
#3856CB #CB389F #CBAD38 #38CB63
split-complementary
#3856CB #CB6338 #9FCB38
monochromatic
#1C2D6C #29419D #3856CB #697FD8 #99A8E4

Accessibility & contrast

On white

6.25
#3856CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3856CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3856CB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3856CB#FFFFFF#000000##FFFFFF
##3856CB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3856cb;
/* rgb */ color: rgb(56, 86, 203);
/* oklch */ color: oklch(50.2% 0.185 268.1);
Tailwind
colors: {
  custom: {
    50: '#8285dc',
    500: '#3856cb',
    950: '#000000',
  },
}
SCSS
$custom: #3856cb;
$custom-light: #8285dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3856cb",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 227.755,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.18457,
    "h": 268.1
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#3856CB
secondary
#D0C38F
accent
#C246E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3856CB

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

Preview Lab → · Contrast checker → · Palette generator →

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