#4856C6#4856C6

#4856C6 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.173 H 273.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4856C6
RGBrgb(72, 86, 198)
HSLhsl(233, 53%, 53%)
HSVhsv(233, 64%, 78%)
CMYKcmyk(63.6%, 56.6%, 0%, 22.4%)
CIE-LABlab(41.39, 29.80, -60.24)
CIE-LCHlch(41.39, 67.20, 296.32°)
OKLaboklab(50.64% 0.0095 -0.1732)
OKLCHoklch(50.64% 0.173 273.2)
XYZxyz(16.1899, 12.1091, 54.8992)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856C6 #C6B848
analogous
#4895C6 #4856C6 #7948C6
triadic
#4856C6 #C64856 #56C648
tetradic
#4856C6 #C64895 #C6B848 #48C679
square
#4856C6 #C64895 #C6B848 #48C679
split-complementary
#4856C6 #C67948 #95C648
monochromatic
#232C71 #323E9F #4856C6 #7781D5 #A5ACE3

Accessibility & contrast

On white

6.14
#4856C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4856C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856C6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856C6#FFFFFF#000000##FFFFFF
##4856C61.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4856c6;
/* rgb */ color: rgb(72, 86, 198);
/* oklch */ color: oklch(50.6% 0.173 273.2);
Tailwind
colors: {
  custom: {
    50: '#8885d8',
    500: '#4856c6',
    950: '#000000',
  },
}
SCSS
$custom: #4856c6;
$custom-light: #8885d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4856c6",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 198
  },
  "hsl": {
    "h": 233.333,
    "s": 52.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.17344,
    "h": 273.2
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#4856C6
secondary
#D0CA9A
accent
#CC4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4856C6

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

Preview Lab → · Contrast checker → · Palette generator →

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