#3856AB#3856AB

#3856AB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.141 H 266.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3856AB
RGBrgb(56, 86, 171)
HSLhsl(224, 51%, 45%)
HSVhsv(224, 67%, 67%)
CMYKcmyk(67.3%, 49.7%, 0%, 32.9%)
CIE-LABlab(38.61, 17.55, -48.94)
CIE-LCHlch(38.61, 52.00, 289.73°)
OKLaboklab(47.71% -0.0086 -0.1403)
OKLCHoklch(47.71% 0.141 266.5)
XYZxyz(12.3068, 10.4354, 39.8859)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3856AB #AB8D38
analogous
#3890AB #3856AB #5438AB
triadic
#3856AB #AB3856 #56AB38
tetradic
#3856AB #AB3890 #AB8D38 #38AB54
square
#3856AB #AB3890 #AB8D38 #38AB54
split-complementary
#3856AB #AB5438 #90AB38
monochromatic
#1A284F #293F7D #3856AB #5875C8 #869BD7

Accessibility & contrast

On white

6.80
#3856AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3856AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3856AB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3856AB#FFFFFF#000000##FFFFFF
##3856AB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#0656A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3856ab;
/* rgb */ color: rgb(56, 86, 171);
/* oklch */ color: oklch(47.7% 0.141 266.5);
Tailwind
colors: {
  custom: {
    50: '#7b85c5',
    500: '#3856ab',
    950: '#000000',
  },
}
SCSS
$custom: #3856ab;
$custom-light: #7b85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3856ab",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 224.348,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.14057,
    "h": 266.5
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#3856AB
secondary
#C1B07D
accent
#B54EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3856AB

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

Preview Lab → · Contrast checker → · Palette generator →

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