#4856D1#4856D1

#4856D1 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.188 H 272.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4856D1
RGBrgb(72, 86, 209)
HSLhsl(234, 60%, 55%)
HSVhsv(234, 66%, 82%)
CMYKcmyk(65.6%, 58.9%, 0%, 18%)
CIE-LABlab(42.21, 33.58, -65.26)
CIE-LCHlch(42.21, 73.39, 297.23°)
OKLaboklab(51.5% 0.0096 -0.1879)
OKLCHoklch(51.5% 0.188 272.9)
XYZxyz(17.5051, 12.6352, 61.8256)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856D1 #D1C348
analogous
#489AD1 #4856D1 #7F48D1
triadic
#4856D1 #D14856 #56D148
tetradic
#4856D1 #D1489A #D1C348 #48D17F
square
#4856D1 #D1489A #D1C348 #48D17F
split-complementary
#4856D1 #D17F48 #9AD148
monochromatic
#202A7F #2C3AB0 #4856D1 #7983DD #AAB0EA

Accessibility & contrast

On white

5.95
#4856D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4856D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856D1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856D1#FFFFFF#000000##FFFFFF
##4856D11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4856d1;
/* rgb */ color: rgb(72, 86, 209);
/* oklch */ color: oklch(51.5% 0.188 272.9);
Tailwind
colors: {
  custom: {
    50: '#8a85e0',
    500: '#4856d1',
    950: '#000000',
  },
}
SCSS
$custom: #4856d1;
$custom-light: #8a85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4856d1",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 233.869,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51504,
    "c": 0.18818,
    "h": 272.9
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#4856D1
secondary
#D7D19E
accent
#D345E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4856D1

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

Preview Lab → · Contrast checker → · Palette generator →

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