#4851D8#4851D8

#4851D8 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.2% C 0.203 H 273.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4851D8
RGBrgb(72, 81, 216)
HSLhsl(236, 65%, 56%)
HSVhsv(236, 67%, 85%)
CMYKcmyk(66.7%, 62.5%, 0%, 15.3%)
CIE-LABlab(41.56, 39.05, -70.33)
CIE-LCHlch(41.56, 80.44, 299.04°)
OKLaboklab(51.2% 0.0134 -0.2029)
OKLCHoklch(51.2% 0.203 273.8)
XYZxyz(18.0055, 12.2188, 66.3620)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4851D8 #D8CF48
analogous
#4899D8 #4851D8 #8748D8
triadic
#4851D8 #D84851 #51D848
tetradic
#4851D8 #D84899 #D8CF48 #48D887
square
#4851D8 #D84899 #D8CF48 #48D887
split-complementary
#4851D8 #D88748 #99D848
monochromatic
#1D2489 #2831BB #4851D8 #7A81E3 #ADB1EE

Accessibility & contrast

On white

6.10
#4851D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4851D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4851D8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4851D8#FFFFFF#000000##FFFFFF
##4851D81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4851d8;
/* rgb */ color: rgb(72, 81, 216);
/* oklch */ color: oklch(51.2% 0.203 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c82e5',
    500: '#4851d8',
    950: '#000000',
  },
}
SCSS
$custom: #4851d8;
$custom-light: #8c82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4851d8",
  "rgb": {
    "r": 72,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 236.25,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.2033,
    "h": 273.8
  },
  "luminance": 0.1222
}

Semantic roles & 50–950 ramp

primary
#4851D8
secondary
#DBD8A0
accent
#DD40E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4851D8

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

Preview Lab → · Contrast checker → · Palette generator →

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