#4857CB#4857CB

#4857CB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.179 H 272.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4857CB
RGBrgb(72, 87, 203)
HSLhsl(233, 56%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(64.5%, 57.1%, 0%, 20.4%)
CIE-LABlab(42.01, 30.89, -62.13)
CIE-LCHlch(42.01, 69.38, 296.44°)
OKLaboklab(51.21% 0.0088 -0.1787)
OKLCHoklch(51.21% 0.179 272.8)
XYZxyz(16.8566, 12.5044, 58.0136)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857CB #CBBC48
analogous
#4899CB #4857CB #7B48CB
triadic
#4857CB #CB4857 #57CB48
tetradic
#4857CB #CB4899 #CBBC48 #48CB7B
square
#4857CB #CB4899 #CBBC48 #48CB7B
split-complementary
#4857CB #CB7B48 #99CB48
monochromatic
#222C77 #2F3DA6 #4857CB #7883D9 #A7AFE6

Accessibility & contrast

On white

6.00
#4857CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4857CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857CB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857CB#FFFFFF#000000##FFFFFF
##4857CB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4857cb;
/* rgb */ color: rgb(72, 87, 203);
/* oklch */ color: oklch(51.2% 0.179 272.8);
Tailwind
colors: {
  custom: {
    50: '#8986dc',
    500: '#4857cb',
    950: '#000000',
  },
}
SCSS
$custom: #4857cb;
$custom-light: #8986dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4857cb",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 233.13,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.17893,
    "h": 272.8
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#4857CB
secondary
#D3CD9B
accent
#CE49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4857CB

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

Preview Lab → · Contrast checker → · Palette generator →

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