#5752AE#5752AE

#5752AE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.142 H 282.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5752AE
RGBrgb(87, 82, 174)
HSLhsl(243, 36%, 50%)
HSVhsv(243, 53%, 68%)
CMYKcmyk(50%, 52.9%, 0%, 31.8%)
CIE-LABlab(39.78, 27.28, -48.74)
CIE-LCHlch(39.78, 55.86, 299.23°)
OKLaboklab(49.18% 0.0302 -0.139)
OKLCHoklch(49.18% 0.142 282.3)
XYZxyz(14.5854, 11.1160, 41.4133)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752AE #A9AE52
analogous
#527BAE #5752AE #8552AE
triadic
#5752AE #AE5752 #52AE57
tetradic
#5752AE #AE527B #A9AE52 #52AE85
square
#5752AE #AE527B #A9AE52 #52AE85
split-complementary
#5752AE #AE8552 #7BAE52
monochromatic
#2D2B5B #423E85 #5752AE #7F7CC2 #A8A5D5

Accessibility & contrast

On white

6.51
#5752AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5752AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752AE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752AE#FFFFFF#000000##FFFFFF
##5752AE1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#366678
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5752ae;
/* rgb */ color: rgb(87, 82, 174);
/* oklch */ color: oklch(49.2% 0.142 282.3);
Tailwind
colors: {
  custom: {
    50: '#8c82c7',
    500: '#5752ae',
    950: '#000000',
  },
}
SCSS
$custom: #5752ae;
$custom-light: #8c82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5752ae",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 243.261,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.14225,
    "h": 282.3
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#5752AE
secondary
#C0C299
accent
#CC5CC6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5752AE

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

Preview Lab → · Contrast checker → · Palette generator →

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