#5851DD#5851DD

#5851DD is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.206 H 278.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5851DD
RGBrgb(88, 81, 221)
HSLhsl(243, 67%, 59%)
HSVhsv(243, 63%, 87%)
CMYKcmyk(60.2%, 63.3%, 0%, 13.3%)
CIE-LABlab(43.03, 43.02, -70.74)
CIE-LCHlch(43.03, 82.79, 301.31°)
OKLaboklab(52.68% 0.0317 -0.2036)
OKLCHoklch(52.68% 0.206 278.8)
XYZxyz(20.0139, 13.1785, 69.8816)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5851DD #D6DD51
analogous
#5190DD #5851DD #9E51DD
triadic
#5851DD #DD5851 #51DD58
tetradic
#5851DD #DD5190 #D6DD51 #51DD9E
square
#5851DD #DD5190 #D6DD51 #51DD9E
split-complementary
#5851DD #DD9E51 #90DD51
monochromatic
#231D96 #2F27C9 #5851DD #8984E7 #BAB7F1

Accessibility & contrast

On white

5.78
#5851DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5851DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5851DD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5851DD#FFFFFF#000000##FFFFFF
##5851DD1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5851dd;
/* rgb */ color: rgb(88, 81, 221);
/* oklch */ color: oklch(52.7% 0.206 278.8);
Tailwind
colors: {
  custom: {
    50: '#9482e9',
    500: '#5851dd',
    950: '#000000',
  },
}
SCSS
$custom: #5851dd;
$custom-light: #9482e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5851dd",
  "rgb": {
    "r": 88,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 243,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.2061,
    "h": 278.8
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#5851DD
secondary
#DEE0AA
accent
#EA3EE2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5851DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5851DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva