#5752DB#5752DB

#5752DB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.6% C 0.203 H 278.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5752DB
RGBrgb(87, 82, 219)
HSLhsl(242, 66%, 59%)
HSVhsv(242, 63%, 86%)
CMYKcmyk(60.3%, 62.6%, 0%, 14.1%)
CIE-LABlab(43.02, 41.64, -69.61)
CIE-LCHlch(43.02, 81.11, 300.88°)
OKLaboklab(52.6% 0.0298 -0.2004)
OKLCHoklch(52.6% 0.203 278.5)
XYZxyz(19.7299, 13.1738, 68.5072)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752DB #D6DB52
analogous
#5292DB #5752DB #9C52DB
triadic
#5752DB #DB5752 #52DB57
tetradic
#5752DB #DB5292 #D6DB52 #52DB9C
square
#5752DB #DB5292 #D6DB52 #52DB9C
split-complementary
#5752DB #DB9C52 #92DB52
monochromatic
#231F94 #2F29C6 #5752DB #8885E6 #B9B7F0

Accessibility & contrast

On white

5.78
#5752DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5752DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752DB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752DB#FFFFFF#000000##FFFFFF
##5752DB1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5752db;
/* rgb */ color: rgb(87, 82, 219);
/* oklch */ color: oklch(52.6% 0.203 278.5);
Tailwind
colors: {
  custom: {
    50: '#9383e7',
    500: '#5752db',
    950: '#000000',
  },
}
SCSS
$custom: #5752db;
$custom-light: #9383e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5752db",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 242.19,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.20257,
    "h": 278.5
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#5752DB
secondary
#DDDFAA
accent
#E93FE2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5752DB

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

Preview Lab → · Contrast checker → · Palette generator →

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