#5752DD#5752DD

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

Color values

HEX#5752DD
RGBrgb(87, 82, 221)
HSLhsl(242, 67%, 59%)
HSVhsv(242, 63%, 87%)
CMYKcmyk(60.6%, 62.9%, 0%, 13.3%)
CIE-LABlab(43.18, 42.27, -70.50)
CIE-LCHlch(43.18, 82.20, 300.95°)
OKLaboklab(52.77% 0.0296 -0.203)
OKLCHoklch(52.77% 0.205 278.3)
XYZxyz(19.9947, 13.2798, 69.9022)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752DD #D8DD52
analogous
#5293DD #5752DD #9C52DD
triadic
#5752DD #DD5752 #52DD57
tetradic
#5752DD #DD5293 #D8DD52 #52DD9C
square
#5752DD #DD5293 #D8DD52 #52DD9C
split-complementary
#5752DD #DD9C52 #93DD52
monochromatic
#221E97 #2E28CA #5752DD #8985E7 #BAB8F1

Accessibility & contrast

On white

5.74
#5752DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5752DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752DD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752DD#FFFFFF#000000##FFFFFF
##5752DD1.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)
#006CE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5752dd;
/* rgb */ color: rgb(87, 82, 221);
/* oklch */ color: oklch(52.8% 0.205 278.3);
Tailwind
colors: {
  custom: {
    50: '#9483e9',
    500: '#5752dd',
    950: '#000000',
  },
}
SCSS
$custom: #5752dd;
$custom-light: #9483e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5752dd",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 242.158,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.20511,
    "h": 278.3
  },
  "luminance": 0.13281
}

Semantic roles & 50–950 ramp

primary
#5752DD
secondary
#DFE0AA
accent
#EA3EE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5752DD

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

Preview Lab → · Contrast checker → · Palette generator →

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