#4857D4#4857D4

#4857D4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.191 H 272.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4857D4
RGBrgb(72, 87, 212)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 66%, 83%)
CMYKcmyk(66%, 59%, 0%, 16.9%)
CIE-LABlab(42.68, 33.98, -66.21)
CIE-LCHlch(42.68, 74.42, 297.17°)
OKLaboklab(51.93% 0.0088 -0.1907)
OKLCHoklch(51.93% 0.191 272.6)
XYZxyz(17.9604, 12.9459, 63.8269)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857D4 #D4C548
analogous
#489DD4 #4857D4 #7F48D4
triadic
#4857D4 #D44857 #57D448
tetradic
#4857D4 #D4489D #D4C548 #48D47F
square
#4857D4 #D4489D #D4C548 #48D47F
split-complementary
#4857D4 #D47F48 #9DD448
monochromatic
#1F2983 #2A39B4 #4857D4 #7A84E0 #ABB2EB

Accessibility & contrast

On white

5.85
#4857D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4857D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857D4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857D4#FFFFFF#000000##FFFFFF
##4857D41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4857d4;
/* rgb */ color: rgb(72, 87, 212);
/* oklch */ color: oklch(51.9% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#8b86e2',
    500: '#4857d4',
    950: '#000000',
  },
}
SCSS
$custom: #4857d4;
$custom-light: #8b86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4857d4",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 233.571,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.19092,
    "h": 272.6
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#4857D4
secondary
#D9D39F
accent
#D443E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4857D4

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

Preview Lab → · Contrast checker → · Palette generator →

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