#4856D4#4856D4

#4856D4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.192 H 272.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4856D4
RGBrgb(72, 86, 212)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 66%, 83%)
CMYKcmyk(66%, 59.4%, 0%, 16.9%)
CIE-LABlab(42.44, 34.61, -66.61)
CIE-LCHlch(42.44, 75.06, 297.46°)
OKLaboklab(51.75% 0.0096 -0.1919)
OKLCHoklch(51.75% 0.192 272.9)
XYZxyz(17.8800, 12.7851, 63.8001)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856D4 #D4C648
analogous
#489CD4 #4856D4 #8048D4
triadic
#4856D4 #D44856 #56D448
tetradic
#4856D4 #D4489C #D4C648 #48D480
square
#4856D4 #D4489C #D4C648 #48D480
split-complementary
#4856D4 #D48048 #9CD448
monochromatic
#1F2983 #2A38B4 #4856D4 #7A84E0 #ABB2EB

Accessibility & contrast

On white

5.90
#4856D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4856D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856D4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856D4#FFFFFF#000000##FFFFFF
##4856D41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4856d4;
/* rgb */ color: rgb(72, 86, 212);
/* oklch */ color: oklch(51.7% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#8b85e2',
    500: '#4856d4',
    950: '#000000',
  },
}
SCSS
$custom: #4856d4;
$custom-light: #8b85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4856d4",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 234,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.19214,
    "h": 272.9
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#4856D4
secondary
#D9D39F
accent
#D543E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4856D4

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

Preview Lab → · Contrast checker → · Palette generator →

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