#5852DD#5852DD

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

Color values

HEX#5852DD
RGBrgb(88, 82, 221)
HSLhsl(243, 67%, 59%)
HSVhsv(243, 63%, 87%)
CMYKcmyk(60.2%, 62.9%, 0%, 13.3%)
CIE-LABlab(43.25, 42.43, -70.38)
CIE-LCHlch(43.25, 82.18, 301.09°)
OKLaboklab(52.84% 0.0309 -0.2026)
OKLCHoklch(52.84% 0.205 278.7)
XYZxyz(20.0888, 13.3283, 69.9066)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852DD #D7DD52
analogous
#5292DD #5852DD #9E52DD
triadic
#5852DD #DD5852 #52DD58
tetradic
#5852DD #DD5292 #D7DD52 #52DD9E
square
#5852DD #DD5292 #D7DD52 #52DD9E
split-complementary
#5852DD #DD9E52 #92DD52
monochromatic
#231E97 #2F28CA #5852DD #8985E7 #BBB8F1

Accessibility & contrast

On white

5.73
#5852DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5852DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852DD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852DD#FFFFFF#000000##FFFFFF
##5852DD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5852dd;
/* rgb */ color: rgb(88, 82, 221);
/* oklch */ color: oklch(52.8% 0.205 278.7);
Tailwind
colors: {
  custom: {
    50: '#9483e9',
    500: '#5852dd',
    950: '#000000',
  },
}
SCSS
$custom: #5852dd;
$custom-light: #9483e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5852dd",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 242.59,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.20492,
    "h": 278.7
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5852DD

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

Preview Lab → · Contrast checker → · Palette generator →

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