#4856CD#4856CD

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

Color values

HEX#4856CD
RGBrgb(72, 86, 205)
HSLhsl(234, 57%, 54%)
HSVhsv(234, 65%, 80%)
CMYKcmyk(64.9%, 58%, 0%, 19.6%)
CIE-LABlab(41.91, 32.20, -63.44)
CIE-LCHlch(41.91, 71.15, 296.91°)
OKLaboklab(51.19% 0.0096 -0.1826)
OKLCHoklch(51.19% 0.183 273)
XYZxyz(17.0160, 12.4396, 59.2501)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856CD #CDBF48
analogous
#4899CD #4856CD #7D48CD
triadic
#4856CD #CD4856 #56CD48
tetradic
#4856CD #CD4899 #CDBF48 #48CD7D
square
#4856CD #CD4899 #CDBF48 #48CD7D
split-complementary
#4856CD #CD7D48 #99CD48
monochromatic
#212A79 #2E3BA9 #4856CD #7882DA #A8AFE7

Accessibility & contrast

On white

6.02
#4856CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4856CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856CD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856CD#FFFFFF#000000##FFFFFF
##4856CD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4856cd;
/* rgb */ color: rgb(72, 86, 205);
/* oklch */ color: oklch(51.2% 0.183 273.0);
Tailwind
colors: {
  custom: {
    50: '#8985dd',
    500: '#4856cd',
    950: '#000000',
  },
}
SCSS
$custom: #4856cd;
$custom-light: #8985dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4856cd",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 233.684,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51185,
    "c": 0.18286,
    "h": 273
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#4856CD
secondary
#D5CF9C
accent
#D047E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4856CD

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

Preview Lab → · Contrast checker → · Palette generator →

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