#5752DC#5752DC

#5752DC is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.204 H 278.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5752DC
RGBrgb(87, 82, 220)
HSLhsl(242, 66%, 59%)
HSVhsv(242, 63%, 86%)
CMYKcmyk(60.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.10, 41.96, -70.05)
CIE-LCHlch(43.10, 81.66, 300.92°)
OKLaboklab(52.68% 0.0297 -0.2017)
OKLCHoklch(52.68% 0.204 278.4)
XYZxyz(19.8619, 13.2266, 69.2026)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752DC #D7DC52
analogous
#5292DC #5752DC #9C52DC
triadic
#5752DC #DC5752 #52DC57
tetradic
#5752DC #DC5292 #D7DC52 #52DC9C
square
#5752DC #DC5292 #D7DC52 #52DC9C
split-complementary
#5752DC #DC9C52 #92DC52
monochromatic
#231E95 #2E29C8 #5752DC #8885E6 #BAB8F1

Accessibility & contrast

On white

5.76
#5752DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5752DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752DC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752DC#FFFFFF#000000##FFFFFF
##5752DC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5752dc;
/* rgb */ color: rgb(87, 82, 220);
/* oklch */ color: oklch(52.7% 0.204 278.4);
Tailwind
colors: {
  custom: {
    50: '#9483e8',
    500: '#5752dc',
    950: '#000000',
  },
}
SCSS
$custom: #5752dc;
$custom-light: #9483e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5752dc",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 242.174,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.20385,
    "h": 278.4
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#5752DC
secondary
#DEE0AA
accent
#E93FE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5752DC

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

Preview Lab → · Contrast checker → · Palette generator →

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