#3856AC#3856AC

#3856AC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.142 H 266.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3856AC
RGBrgb(56, 86, 172)
HSLhsl(224, 51%, 45%)
HSVhsv(224, 67%, 67%)
CMYKcmyk(67.4%, 50%, 0%, 32.5%)
CIE-LABlab(38.68, 17.92, -49.43)
CIE-LCHlch(38.68, 52.58, 289.93°)
OKLaboklab(47.78% -0.0085 -0.1417)
OKLCHoklch(47.78% 0.142 266.6)
XYZxyz(12.4025, 10.4737, 40.3897)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3856AC #AC8E38
analogous
#3890AC #3856AC #5438AC
triadic
#3856AC #AC3856 #56AC38
tetradic
#3856AC #AC3890 #AC8E38 #38AC54
square
#3856AC #AC3890 #AC8E38 #38AC54
split-complementary
#3856AC #AC5438 #90AC38
monochromatic
#1A2850 #293F7E #3856AC #5875C9 #879CD8

Accessibility & contrast

On white

6.79
#3856AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3856AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3856AC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3856AC#FFFFFF#000000##FFFFFF
##3856AC1.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#0256AA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3856ac;
/* rgb */ color: rgb(56, 86, 172);
/* oklch */ color: oklch(47.8% 0.142 266.6);
Tailwind
colors: {
  custom: {
    50: '#7c85c5',
    500: '#3856ac',
    950: '#000000',
  },
}
SCSS
$custom: #3856ac;
$custom-light: #7c85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3856ac",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 224.483,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.14199,
    "h": 266.6
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#3856AC
secondary
#C2B07E
accent
#B64DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3856AC

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

Preview Lab → · Contrast checker → · Palette generator →

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