#4857DC#4857DC

#4857DC is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.6% C 0.201 H 272.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4857DC
RGBrgb(72, 87, 220)
HSLhsl(234, 68%, 57%)
HSVhsv(234, 67%, 86%)
CMYKcmyk(67.3%, 60.5%, 0%, 13.7%)
CIE-LABlab(43.30, 36.72, -69.77)
CIE-LCHlch(43.30, 78.85, 297.76°)
OKLaboklab(52.58% 0.0087 -0.2012)
OKLCHoklch(52.58% 0.201 272.5)
XYZxyz(18.9946, 13.3596, 69.2739)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857DC #DCCD48
analogous
#48A1DC #4857DC #8348DC
triadic
#4857DC #DC4857 #57DC48
tetradic
#4857DC #DC48A1 #DCCD48 #48DC83
square
#4857DC #DC48A1 #DCCD48 #48DC83
split-complementary
#4857DC #DC8348 #A1DC48
monochromatic
#1B278E #2535C2 #4857DC #7B86E6 #AFB5F0

Accessibility & contrast

On white

5.72
#4857DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4857DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857DC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857DC#FFFFFF#000000##FFFFFF
##4857DC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4857dc;
/* rgb */ color: rgb(72, 87, 220);
/* oklch */ color: oklch(52.6% 0.201 272.5);
Tailwind
colors: {
  custom: {
    50: '#8c86e8',
    500: '#4857dc',
    950: '#000000',
  },
}
SCSS
$custom: #4857dc;
$custom-light: #8c86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4857dc",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 233.919,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.20138,
    "h": 272.5
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#4857DC
secondary
#DED8A2
accent
#D93DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4857DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4857DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva