#4857D7#4857D7

#4857D7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.195 H 272.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4857D7
RGBrgb(72, 87, 215)
HSLhsl(234, 64%, 56%)
HSVhsv(234, 67%, 84%)
CMYKcmyk(66.5%, 59.5%, 0%, 15.7%)
CIE-LABlab(42.91, 35.01, -67.55)
CIE-LCHlch(42.91, 76.09, 297.40°)
OKLaboklab(52.17% 0.0088 -0.1947)
OKLCHoklch(52.17% 0.195 272.6)
XYZxyz(18.3423, 13.0987, 65.8385)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857D7 #D7C848
analogous
#489FD7 #4857D7 #8148D7
triadic
#4857D7 #D74857 #57D748
tetradic
#4857D7 #D7489F #D7C848 #48D781
square
#4857D7 #D7489F #D7C848 #48D781
split-complementary
#4857D7 #D78148 #9FD748
monochromatic
#1E2987 #2938B9 #4857D7 #7A85E2 #ACB3ED

Accessibility & contrast

On white

5.80
#4857D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4857D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857D7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857D7#FFFFFF#000000##FFFFFF
##4857D71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4857d7;
/* rgb */ color: rgb(72, 87, 215);
/* oklch */ color: oklch(52.2% 0.195 272.6);
Tailwind
colors: {
  custom: {
    50: '#8b86e4',
    500: '#4857d7',
    950: '#000000',
  },
}
SCSS
$custom: #4857d7;
$custom-light: #8b86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4857d7",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 233.706,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.19487,
    "h": 272.6
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#4857D7
secondary
#DBD5A0
accent
#D641E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4857D7

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

Preview Lab → · Contrast checker → · Palette generator →

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