#4851D6#4851D6

#4851D6 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.0% C 0.201 H 273.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4851D6
RGBrgb(72, 81, 214)
HSLhsl(236, 63%, 56%)
HSVhsv(236, 66%, 84%)
CMYKcmyk(66.4%, 62.1%, 0%, 16.1%)
CIE-LABlab(41.40, 38.38, -69.44)
CIE-LCHlch(41.40, 79.34, 298.93°)
OKLaboklab(51.03% 0.0135 -0.2003)
OKLCHoklch(51.03% 0.201 273.9)
XYZxyz(17.7485, 12.1160, 65.0086)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4851D6 #D6CD48
analogous
#4898D6 #4851D6 #8648D6
triadic
#4851D6 #D64851 #51D648
tetradic
#4851D6 #D64898 #D6CD48 #48D686
square
#4851D6 #D64898 #D6CD48 #48D686
split-complementary
#4851D6 #D68648 #98D648
monochromatic
#1E2586 #2932B8 #4851D6 #7A81E1 #ACB0EC

Accessibility & contrast

On white

6.13
#4851D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4851D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4851D6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4851D6#FFFFFF#000000##FFFFFF
##4851D61.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#005BD3
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4851d6;
/* rgb */ color: rgb(72, 81, 214);
/* oklch */ color: oklch(51.0% 0.201 273.9);
Tailwind
colors: {
  custom: {
    50: '#8b82e4',
    500: '#4851d6',
    950: '#000000',
  },
}
SCSS
$custom: #4851d6;
$custom-light: #8b82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4851d6",
  "rgb": {
    "r": 72,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 236.197,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.20072,
    "h": 273.9
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#4851D6
secondary
#DAD7A0
accent
#DC41E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4851D6

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

Preview Lab → · Contrast checker → · Palette generator →

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