#4856D5#4856D5

#4856D5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.193 H 272.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4856D5
RGBrgb(72, 86, 213)
HSLhsl(234, 63%, 56%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(66.2%, 59.6%, 0%, 16.5%)
CIE-LABlab(42.51, 34.95, -67.05)
CIE-LCHlch(42.51, 75.61, 297.53°)
OKLaboklab(51.83% 0.0096 -0.1932)
OKLCHoklch(51.83% 0.193 272.8)
XYZxyz(18.0065, 12.8358, 64.4665)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856D5 #D5C748
analogous
#489CD5 #4856D5 #8048D5
triadic
#4856D5 #D54856 #56D548
tetradic
#4856D5 #D5489C #D5C748 #48D580
square
#4856D5 #D5489C #D5C748 #48D580
split-complementary
#4856D5 #D58048 #9CD548
monochromatic
#1E2884 #2A38B6 #4856D5 #7A84E0 #ACB2EC

Accessibility & contrast

On white

5.89
#4856D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4856D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856D5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856D5#FFFFFF#000000##FFFFFF
##4856D51.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4856d5;
/* rgb */ color: rgb(72, 86, 213);
/* oklch */ color: oklch(51.8% 0.193 272.8);
Tailwind
colors: {
  custom: {
    50: '#8b85e3',
    500: '#4856d5',
    950: '#000000',
  },
}
SCSS
$custom: #4856d5;
$custom-light: #8b85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4856d5",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 234.043,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.19345,
    "h": 272.8
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#4856D5
secondary
#DAD49F
accent
#D542E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4856D5

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

Preview Lab → · Contrast checker → · Palette generator →

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