#3856CC#3856CC

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

Color values

HEX#3856CC
RGBrgb(56, 86, 204)
HSLhsl(228, 59%, 51%)
HSVhsv(228, 73%, 80%)
CMYKcmyk(72.5%, 57.8%, 0%, 20%)
CIE-LABlab(40.98, 29.62, -64.41)
CIE-LCHlch(40.98, 70.89, 294.69°)
OKLaboklab(50.25% -0.0062 -0.1858)
OKLCHoklch(50.25% 0.186 268.1)
XYZxyz(15.8540, 11.8543, 58.5676)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3856CC #CCAE38
analogous
#38A0CC #3856CC #6438CC
triadic
#3856CC #CC3856 #56CC38
tetradic
#3856CC #CC38A0 #CCAE38 #38CC64
square
#3856CC #CC38A0 #CCAE38 #38CC64
split-complementary
#3856CC #CC6438 #A0CC38
monochromatic
#1C2D6E #29409E #3856CC #697FD8 #99A9E5

Accessibility & contrast

On white

6.23
#3856CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3856CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3856CC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3856CC#FFFFFF#000000##FFFFFF
##3856CC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3856cc;
/* rgb */ color: rgb(56, 86, 204);
/* oklch */ color: oklch(50.2% 0.186 268.1);
Tailwind
colors: {
  custom: {
    50: '#8285dc',
    500: '#3856cc',
    950: '#000000',
  },
}
SCSS
$custom: #3856cc;
$custom-light: #8285dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3856cc",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 227.838,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.18589,
    "h": 268.1
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#3856CC
secondary
#D1C38F
accent
#C345E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3856CC

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

Preview Lab → · Contrast checker → · Palette generator →

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