#4856CE#4856CE

#4856CE is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.184 H 273.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4856CE
RGBrgb(72, 86, 206)
HSLhsl(234, 58%, 55%)
HSVhsv(234, 65%, 81%)
CMYKcmyk(65%, 58.3%, 0%, 19.2%)
CIE-LABlab(41.98, 32.55, -63.90)
CIE-LCHlch(41.98, 71.71, 296.99°)
OKLaboklab(51.27% 0.0096 -0.1839)
OKLCHoklch(51.27% 0.184 273)
XYZxyz(17.1371, 12.4880, 59.8879)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856CE #CEC048
analogous
#4899CE #4856CE #7D48CE
triadic
#4856CE #CE4856 #56CE48
tetradic
#4856CE #CE4899 #CEC048 #48CE7D
square
#4856CE #CE4899 #CEC048 #48CE7D
split-complementary
#4856CE #CE7D48 #99CE48
monochromatic
#212A7B #2E3BAB #4856CE #7883DB #A9AFE8

Accessibility & contrast

On white

6.00
#4856CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4856CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856CE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856CE#FFFFFF#000000##FFFFFF
##4856CE1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4856ce;
/* rgb */ color: rgb(72, 86, 206);
/* oklch */ color: oklch(51.3% 0.184 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a85de',
    500: '#4856ce',
    950: '#000000',
  },
}
SCSS
$custom: #4856ce;
$custom-light: #8a85de;
$custom-dark: #000000;
JSON
{
  "hex": "#4856ce",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 233.731,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.18419,
    "h": 273
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#4856CE
secondary
#D5CF9D
accent
#D147E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4856CE

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

Preview Lab → · Contrast checker → · Palette generator →

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