#4856CC#4856CC

#4856CC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.182 H 273.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4856CC
RGBrgb(72, 86, 204)
HSLhsl(234, 56%, 54%)
HSVhsv(234, 65%, 80%)
CMYKcmyk(64.7%, 57.8%, 0%, 20%)
CIE-LABlab(41.83, 31.86, -62.99)
CIE-LCHlch(41.83, 70.59, 296.83°)
OKLaboklab(51.11% 0.0096 -0.1813)
OKLCHoklch(51.11% 0.182 273)
XYZxyz(16.8957, 12.3914, 58.6164)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856CC #CCBE48
analogous
#4898CC #4856CC #7C48CC
triadic
#4856CC #CC4856 #56CC48
tetradic
#4856CC #CC4898 #CCBE48 #48CC7C
square
#4856CC #CC4898 #CCBE48 #48CC7C
split-complementary
#4856CC #CC7C48 #98CC48
monochromatic
#212B78 #2F3CA8 #4856CC #7882D9 #A8AEE7

Accessibility & contrast

On white

6.04
#4856CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4856CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856CC#FFFFFF#000000##FFFFFF
##4856CC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4856cc;
/* rgb */ color: rgb(72, 86, 204);
/* oklch */ color: oklch(51.1% 0.182 273.0);
Tailwind
colors: {
  custom: {
    50: '#8985dc',
    500: '#4856cc',
    950: '#000000',
  },
}
SCSS
$custom: #4856cc;
$custom-light: #8985dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4856cc",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 233.636,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.18153,
    "h": 273
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#4856CC
secondary
#D4CE9C
accent
#D048E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4856CC

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

Preview Lab → · Contrast checker → · Palette generator →

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