#4857C3#4857C3

#4857C3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.168 H 272.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4857C3
RGBrgb(72, 87, 195)
HSLhsl(233, 51%, 52%)
HSVhsv(233, 63%, 76%)
CMYKcmyk(63.1%, 55.4%, 0%, 23.5%)
CIE-LABlab(41.43, 28.13, -58.44)
CIE-LCHlch(41.43, 64.85, 295.71°)
OKLaboklab(50.6% 0.0085 -0.1679)
OKLCHoklch(50.6% 0.168 272.9)
XYZxyz(15.9277, 12.1329, 53.1217)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857C3 #C3B448
analogous
#4894C3 #4857C3 #7748C3
triadic
#4857C3 #C34857 #57C348
tetradic
#4857C3 #C34894 #C3B448 #48C377
square
#4857C3 #C34894 #C3B448 #48C377
split-complementary
#4857C3 #C37748 #94C348
monochromatic
#242D6D #33409B #4857C3 #7681D2 #A4ACE1

Accessibility & contrast

On white

6.13
#4857C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4857C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857C3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857C3#FFFFFF#000000##FFFFFF
##4857C31.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4857c3;
/* rgb */ color: rgb(72, 87, 195);
/* oklch */ color: oklch(50.6% 0.168 272.9);
Tailwind
colors: {
  custom: {
    50: '#8786d6',
    500: '#4857c3',
    950: '#000000',
  },
}
SCSS
$custom: #4857c3;
$custom-light: #8786d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4857c3",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 195
  },
  "hsl": {
    "h": 232.683,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50597,
    "c": 0.16809,
    "h": 272.9
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#4857C3
secondary
#CEC899
accent
#C94EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4857C3

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

Preview Lab → · Contrast checker → · Palette generator →

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