#4857D6#4857D6

#4857D6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.194 H 272.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4857D6
RGBrgb(72, 87, 214)
HSLhsl(234, 63%, 56%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(66.4%, 59.3%, 0%, 16.1%)
CIE-LABlab(42.83, 34.67, -67.10)
CIE-LCHlch(42.83, 75.53, 297.32°)
OKLaboklab(52.09% 0.0088 -0.1933)
OKLCHoklch(52.09% 0.194 272.6)
XYZxyz(18.2142, 13.0475, 65.1638)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857D6 #D6C748
analogous
#489ED6 #4857D6 #8048D6
triadic
#4857D6 #D64857 #57D648
tetradic
#4857D6 #D6489E #D6C748 #48D680
square
#4857D6 #D6489E #D6C748 #48D680
split-complementary
#4857D6 #D68048 #9ED648
monochromatic
#1E2986 #2938B8 #4857D6 #7A85E1 #ACB3EC

Accessibility & contrast

On white

5.82
#4857D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4857D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857D6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857D6#FFFFFF#000000##FFFFFF
##4857D61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4857d6;
/* rgb */ color: rgb(72, 87, 214);
/* oklch */ color: oklch(52.1% 0.194 272.6);
Tailwind
colors: {
  custom: {
    50: '#8b86e4',
    500: '#4857d6',
    950: '#000000',
  },
}
SCSS
$custom: #4857d6;
$custom-light: #8b86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4857d6",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 214
  },
  "hsl": {
    "h": 233.662,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.19355,
    "h": 272.6
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#4857D6
secondary
#DAD4A0
accent
#D541E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4857D6

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

Preview Lab → · Contrast checker → · Palette generator →

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