#4857CD#4857CD

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

Color values

HEX#4857CD
RGBrgb(72, 87, 205)
HSLhsl(233, 57%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(64.9%, 57.6%, 0%, 19.6%)
CIE-LABlab(42.15, 31.58, -63.04)
CIE-LCHlch(42.15, 70.51, 296.61°)
OKLaboklab(51.37% 0.0088 -0.1814)
OKLCHoklch(51.37% 0.182 272.8)
XYZxyz(17.0964, 12.6004, 59.2769)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857CD #CDBE48
analogous
#489ACD #4857CD #7C48CD
triadic
#4857CD #CD4857 #57CD48
tetradic
#4857CD #CD489A #CDBE48 #48CD7C
square
#4857CD #CD489A #CDBE48 #48CD7C
split-complementary
#4857CD #CD7C48 #9ACD48
monochromatic
#212B79 #2E3CA9 #4857CD #7883DA #A8AFE7

Accessibility & contrast

On white

5.97
#4857CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4857CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857CD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857CD#FFFFFF#000000##FFFFFF
##4857CD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4857cd;
/* rgb */ color: rgb(72, 87, 205);
/* oklch */ color: oklch(51.4% 0.182 272.8);
Tailwind
colors: {
  custom: {
    50: '#8986dd',
    500: '#4857cd',
    950: '#000000',
  },
}
SCSS
$custom: #4857cd;
$custom-light: #8986dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4857cd",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 233.233,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5137,
    "c": 0.18162,
    "h": 272.8
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#4857CD
secondary
#D5CE9C
accent
#CF47E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4857CD

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

Preview Lab → · Contrast checker → · Palette generator →

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