#4857AC#4857AC

#4857AC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.136 H 272.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4857AC
RGBrgb(72, 87, 172)
HSLhsl(231, 41%, 48%)
HSVhsv(231, 58%, 67%)
CMYKcmyk(58.1%, 49.4%, 0%, 32.5%)
CIE-LABlab(39.87, 20.22, -47.47)
CIE-LCHlch(39.87, 51.60, 293.08°)
OKLaboklab(48.93% 0.0068 -0.1356)
OKLCHoklch(48.93% 0.136 272.9)
XYZxyz(13.5246, 11.1717, 40.4654)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857AC #AC9D48
analogous
#4889AC #4857AC #6B48AC
triadic
#4857AC #AC4857 #57AC48
tetradic
#4857AC #AC4889 #AC9D48 #48AC6B
square
#4857AC #AC4889 #AC9D48 #48AC6B
split-complementary
#4857AC #AC6B48 #89AC48
monochromatic
#242B56 #364181 #4857AC #6F7BC3 #9AA3D5

Accessibility & contrast

On white

6.49
#4857AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4857AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857AC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857AC#FFFFFF#000000##FFFFFF
##4857AC1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AF
Deuteranopia (green-blind)
#1C5AAA
Tritanopia (blue-blind)
#016A79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4857ac;
/* rgb */ color: rgb(72, 87, 172);
/* oklch */ color: oklch(48.9% 0.136 272.9);
Tailwind
colors: {
  custom: {
    50: '#8386c5',
    500: '#4857ac',
    950: '#000000',
  },
}
SCSS
$custom: #4857ac;
$custom-light: #8386c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4857ac",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 231,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48926,
    "c": 0.13577,
    "h": 272.9
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#4857AC
secondary
#C1B98F
accent
#BF57D1
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4857AC

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

Preview Lab → · Contrast checker → · Palette generator →

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