#5752D9#5752D9

#5752D9 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.4% C 0.200 H 278.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5752D9
RGBrgb(87, 82, 217)
HSLhsl(242, 64%, 59%)
HSVhsv(242, 62%, 85%)
CMYKcmyk(59.9%, 62.2%, 0%, 14.9%)
CIE-LABlab(42.87, 41.00, -68.73)
CIE-LCHlch(42.87, 80.03, 300.82°)
OKLaboklab(52.44% 0.0299 -0.1978)
OKLCHoklch(52.44% 0.2 278.6)
XYZxyz(19.4682, 13.0691, 67.1289)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752D9 #D4D952
analogous
#5290D9 #5752D9 #9A52D9
triadic
#5752D9 #D95752 #52D957
tetradic
#5752D9 #D95290 #D4D952 #52D99A
square
#5752D9 #D95290 #D4D952 #52D99A
split-complementary
#5752D9 #D99A52 #90D952
monochromatic
#242091 #302BC3 #5752D9 #8884E4 #B8B6EF

Accessibility & contrast

On white

5.81
#5752D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5752D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752D9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752D9#FFFFFF#000000##FFFFFF
##5752D91.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5752d9;
/* rgb */ color: rgb(87, 82, 217);
/* oklch */ color: oklch(52.4% 0.200 278.6);
Tailwind
colors: {
  custom: {
    50: '#9383e6',
    500: '#5752d9',
    950: '#000000',
  },
}
SCSS
$custom: #5752d9;
$custom-light: #9383e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5752d9",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 242.222,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.20001,
    "h": 278.6
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#5752D9
secondary
#DCDEA9
accent
#E741E1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5752D9

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

Preview Lab → · Contrast checker → · Palette generator →

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