#4856D6#4856D6

#4856D6 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.195 H 272.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4856D6
RGBrgb(72, 86, 214)
HSLhsl(234, 63%, 56%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(66.4%, 59.8%, 0%, 16.1%)
CIE-LABlab(42.59, 35.29, -67.50)
CIE-LCHlch(42.59, 76.17, 297.60°)
OKLaboklab(51.91% 0.0096 -0.1945)
OKLCHoklch(51.91% 0.195 272.8)
XYZxyz(18.1338, 12.8867, 65.1370)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856D6 #D6C848
analogous
#489DD6 #4856D6 #8148D6
triadic
#4856D6 #D64856 #56D648
tetradic
#4856D6 #D6489D #D6C848 #48D681
square
#4856D6 #D6489D #D6C848 #48D681
split-complementary
#4856D6 #D68148 #9DD648
monochromatic
#1E2886 #2937B8 #4856D6 #7A84E1 #ACB2EC

Accessibility & contrast

On white

5.87
#4856D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4856D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856D6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856D6#FFFFFF#000000##FFFFFF
##4856D61.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4856d6;
/* rgb */ color: rgb(72, 86, 214);
/* oklch */ color: oklch(51.9% 0.195 272.8);
Tailwind
colors: {
  custom: {
    50: '#8b85e4',
    500: '#4856d6',
    950: '#000000',
  },
}
SCSS
$custom: #4856d6;
$custom-light: #8b85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4856d6",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 214
  },
  "hsl": {
    "h": 234.085,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.19476,
    "h": 272.8
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#4856D6
secondary
#DAD4A0
accent
#D641E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4856D6

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

Preview Lab → · Contrast checker → · Palette generator →

#4856D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva