#5852DC#5852DC

#5852DC is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.204 H 278.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5852DC
RGBrgb(88, 82, 220)
HSLhsl(243, 66%, 59%)
HSVhsv(243, 63%, 86%)
CMYKcmyk(60%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.17, 42.11, -69.93)
CIE-LCHlch(43.17, 81.63, 301.06°)
OKLaboklab(52.76% 0.0309 -0.2013)
OKLCHoklch(52.76% 0.204 278.7)
XYZxyz(19.9559, 13.2751, 69.2070)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852DC #D6DC52
analogous
#5291DC #5852DC #9D52DC
triadic
#5852DC #DC5852 #52DC58
tetradic
#5852DC #DC5291 #D6DC52 #52DC9D
square
#5852DC #DC5291 #D6DC52 #52DC9D
split-complementary
#5852DC #DC9D52 #91DC52
monochromatic
#231E95 #2F29C8 #5852DC #8985E6 #BAB8F1

Accessibility & contrast

On white

5.74
#5852DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5852DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852DC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852DC#FFFFFF#000000##FFFFFF
##5852DC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5852dc;
/* rgb */ color: rgb(88, 82, 220);
/* oklch */ color: oklch(52.8% 0.204 278.7);
Tailwind
colors: {
  custom: {
    50: '#9483e8',
    500: '#5852dc',
    950: '#000000',
  },
}
SCSS
$custom: #5852dc;
$custom-light: #9483e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5852dc",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 242.609,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.20364,
    "h": 278.7
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#5852DC
secondary
#DEE0AA
accent
#E93FE2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5852DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5852DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva