#5752DF#5752DF

#5752DF is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.208 H 278.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5752DF
RGBrgb(87, 82, 223)
HSLhsl(242, 69%, 60%)
HSVhsv(242, 63%, 87%)
CMYKcmyk(61%, 63.2%, 0%, 12.5%)
CIE-LABlab(43.34, 42.91, -71.38)
CIE-LCHlch(43.34, 83.28, 301.02°)
OKLaboklab(52.93% 0.0295 -0.2055)
OKLCHoklch(52.93% 0.208 278.2)
XYZxyz(20.2628, 13.3870, 71.3139)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752DF #DADF52
analogous
#5293DF #5752DF #9E52DF
triadic
#5752DF #DF5752 #52DF57
tetradic
#5752DF #DF5293 #DADF52 #52DF9E
square
#5752DF #DF5293 #DADF52 #52DF9E
split-complementary
#5752DF #DF9E52 #93DF52
monochromatic
#211D9A #2C26CE #5752DF #8986E9 #BBB9F2

Accessibility & contrast

On white

5.71
#5752DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5752DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752DF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752DF#FFFFFF#000000##FFFFFF
##5752DF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5752df;
/* rgb */ color: rgb(87, 82, 223);
/* oklch */ color: oklch(52.9% 0.208 278.2);
Tailwind
colors: {
  custom: {
    50: '#9483ea',
    500: '#5752df',
    950: '#000000',
  },
}
SCSS
$custom: #5752df;
$custom-light: #9483ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5752df",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 242.128,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52932,
    "c": 0.20764,
    "h": 278.2
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#5752DF
secondary
#E0E2AB
accent
#EC3CE5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5752DF

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

Preview Lab → · Contrast checker → · Palette generator →

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