#4857CE#4857CE

#4857CE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.183 H 272.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4857CE
RGBrgb(72, 87, 206)
HSLhsl(233, 58%, 55%)
HSVhsv(233, 65%, 81%)
CMYKcmyk(65%, 57.8%, 0%, 19.2%)
CIE-LABlab(42.23, 31.92, -63.50)
CIE-LCHlch(42.23, 71.07, 296.69°)
OKLaboklab(51.45% 0.0088 -0.1827)
OKLCHoklch(51.45% 0.183 272.8)
XYZxyz(17.2175, 12.6488, 59.9147)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857CE #CEBF48
analogous
#489ACE #4857CE #7C48CE
triadic
#4857CE #CE4857 #57CE48
tetradic
#4857CE #CE489A #CEBF48 #48CE7C
square
#4857CE #CE489A #CEBF48 #48CE7C
split-complementary
#4857CE #CE7C48 #9ACE48
monochromatic
#212B7B #2E3CAB #4857CE #7883DB #A9B0E8

Accessibility & contrast

On white

5.95
#4857CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4857CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857CE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857CE#FFFFFF#000000##FFFFFF
##4857CE1.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)
#006AD2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4857ce;
/* rgb */ color: rgb(72, 87, 206);
/* oklch */ color: oklch(51.4% 0.183 272.8);
Tailwind
colors: {
  custom: {
    50: '#8986de',
    500: '#4857ce',
    950: '#000000',
  },
}
SCSS
$custom: #4857ce;
$custom-light: #8986de;
$custom-dark: #000000;
JSON
{
  "hex": "#4857ce",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 233.284,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.18296,
    "h": 272.8
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#4857CE
secondary
#D5CF9D
accent
#D047E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4857CE

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

Preview Lab → · Contrast checker → · Palette generator →

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