#3856C2#3856C2

#3856C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.172 H 267.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3856C2
RGBrgb(56, 86, 194)
HSLhsl(227, 55%, 49%)
HSVhsv(227, 71%, 76%)
CMYKcmyk(71.1%, 55.7%, 0%, 23.9%)
CIE-LABlab(40.23, 25.98, -59.84)
CIE-LCHlch(40.23, 65.23, 293.47°)
OKLaboklab(49.44% -0.0066 -0.1724)
OKLCHoklch(49.44% 0.172 267.8)
XYZxyz(14.6929, 11.3899, 52.4526)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3856C2 #C2A438
analogous
#389BC2 #3856C2 #5F38C2
triadic
#3856C2 #C23856 #56C238
tetradic
#3856C2 #C2389B #C2A438 #38C25F
square
#3856C2 #C2389B #C2A438 #38C25F
split-complementary
#3856C2 #C25F38 #9BC238
monochromatic
#1D2C63 #2A4193 #3856C2 #657DD2 #94A5E0

Accessibility & contrast

On white

6.41
#3856C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3856C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3856C2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3856C2#FFFFFF#000000##FFFFFF
##3856C21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3856c2;
/* rgb */ color: rgb(56, 86, 194);
/* oklch */ color: oklch(49.4% 0.172 267.8);
Tailwind
colors: {
  custom: {
    50: '#8085d5',
    500: '#3856c2',
    950: '#000000',
  },
}
SCSS
$custom: #3856c2;
$custom-light: #8085d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3856c2",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 226.957,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.17249,
    "h": 267.8
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#3856C2
secondary
#CBBD8A
accent
#BE49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3856C2

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

Preview Lab → · Contrast checker → · Palette generator →

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