#5851DA#5851DA

#5851DA is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.202 H 279.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5851DA
RGBrgb(88, 81, 218)
HSLhsl(243, 65%, 59%)
HSVhsv(243, 63%, 85%)
CMYKcmyk(59.6%, 62.8%, 0%, 14.5%)
CIE-LABlab(42.79, 42.07, -69.41)
CIE-LCHlch(42.79, 81.17, 301.22°)
OKLaboklab(52.43% 0.0319 -0.1998)
OKLCHoklch(52.43% 0.202 279.1)
XYZxyz(19.6178, 13.0201, 67.7954)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5851DA #D3DA51
analogous
#518EDA #5851DA #9C51DA
triadic
#5851DA #DA5851 #51DA58
tetradic
#5851DA #DA518E #D3DA51 #51DA9C
square
#5851DA #DA518E #D3DA51 #51DA9C
split-complementary
#5851DA #DA9C51 #8EDA51
monochromatic
#251F92 #322AC4 #5851DA #8883E5 #B9B6EF

Accessibility & contrast

On white

5.83
#5851DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5851DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5851DA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5851DA#FFFFFF#000000##FFFFFF
##5851DA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5851da;
/* rgb */ color: rgb(88, 81, 218);
/* oklch */ color: oklch(52.4% 0.202 279.1);
Tailwind
colors: {
  custom: {
    50: '#9482e6',
    500: '#5851da',
    950: '#000000',
  },
}
SCSS
$custom: #5851da;
$custom-light: #9482e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5851da",
  "rgb": {
    "r": 88,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 243.066,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.2023,
    "h": 279.1
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#5851DA
secondary
#DCDEA8
accent
#E840DF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5851DA

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

Preview Lab → · Contrast checker → · Palette generator →

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