#3856BA#3856BA

#3856BA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.162 H 267.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3856BA
RGBrgb(56, 86, 186)
HSLhsl(226, 54%, 47%)
HSVhsv(226, 70%, 73%)
CMYKcmyk(69.9%, 53.8%, 0%, 27.1%)
CIE-LABlab(39.65, 23.05, -56.11)
CIE-LCHlch(39.65, 60.66, 292.33°)
OKLaboklab(48.82% -0.0071 -0.1614)
OKLCHoklch(48.82% 0.162 267.5)
XYZxyz(13.8185, 11.0401, 47.8476)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3856BA #BA9C38
analogous
#3897BA #3856BA #5B38BA
triadic
#3856BA #BA3856 #56BA38
tetradic
#3856BA #BA3897 #BA9C38 #38BA5B
square
#3856BA #BA3897 #BA9C38 #38BA5B
split-complementary
#3856BA #BA5B38 #97BA38
monochromatic
#1C2B5C #2A408B #3856BA #607ACF #8FA1DD

Accessibility & contrast

On white

6.55
#3856BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3856BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3856BA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3856BA#FFFFFF#000000##FFFFFF
##3856BA1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3856ba;
/* rgb */ color: rgb(56, 86, 186);
/* oklch */ color: oklch(48.8% 0.162 267.5);
Tailwind
colors: {
  custom: {
    50: '#7f85cf',
    500: '#3856ba',
    950: '#000000',
  },
}
SCSS
$custom: #3856ba;
$custom-light: #7f85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3856ba",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 226.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.16155,
    "h": 267.5
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#3856BA
secondary
#C8B986
accent
#BB4BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3856BA

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

Preview Lab → · Contrast checker → · Palette generator →

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