#4857E7#4857E7

#4857E7 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.5% C 0.215 H 272.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4857E7
RGBrgb(72, 87, 231)
HSLhsl(234, 77%, 59%)
HSVhsv(234, 69%, 91%)
CMYKcmyk(68.8%, 62.3%, 0%, 9.4%)
CIE-LABlab(44.18, 40.46, -74.59)
CIE-LCHlch(44.18, 84.85, 298.48°)
OKLaboklab(53.5% 0.0083 -0.2153)
OKLCHoklch(53.5% 0.215 272.2)
XYZxyz(20.4996, 13.9616, 77.2003)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857E7 #E7D848
analogous
#48A6E7 #4857E7 #8948E7
triadic
#4857E7 #E74857 #57E748
tetradic
#4857E7 #E748A6 #E7D848 #48E789
square
#4857E7 #E748A6 #E7D848 #48E789
split-complementary
#4857E7 #E78948 #A6E748
monochromatic
#1522A0 #1C2ED6 #4857E7 #7E89EE #B4BAF5

Accessibility & contrast

On white

5.54
#4857E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4857E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857E7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857E7#FFFFFF#000000##FFFFFF
##4857E71.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4857e7;
/* rgb */ color: rgb(72, 87, 231);
/* oklch */ color: oklch(53.5% 0.215 272.2);
Tailwind
colors: {
  custom: {
    50: '#8e86f0',
    500: '#4857e7',
    950: '#000000',
  },
}
SCSS
$custom: #4857e7;
$custom-light: #8e86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4857e7",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 234.34,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.21547,
    "h": 272.2
  },
  "luminance": 0.13964
}

Semantic roles & 50–950 ramp

primary
#4857E7
secondary
#E4DFA6
accent
#E134F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4857E7

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

Preview Lab → · Contrast checker → · Palette generator →

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