#5752AA#5752AA

#5752AA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.137 H 282.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5752AA
RGBrgb(87, 82, 170)
HSLhsl(243, 35%, 49%)
HSVhsv(243, 52%, 67%)
CMYKcmyk(48.8%, 51.8%, 0%, 33.3%)
CIE-LABlab(39.52, 26.02, -46.79)
CIE-LCHlch(39.52, 53.54, 299.08°)
OKLaboklab(48.9% 0.0299 -0.1333)
OKLCHoklch(48.9% 0.137 282.7)
XYZxyz(14.2013, 10.9624, 39.3901)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752AA #A5AA52
analogous
#5279AA #5752AA #8352AA
triadic
#5752AA #AA5752 #52AA57
tetradic
#5752AA #AA5279 #A5AA52 #52AA83
square
#5752AA #AA5279 #A5AA52 #52AA83
split-complementary
#5752AA #AA8352 #79AA52
monochromatic
#2D2A57 #423E81 #5752AA #7E7ABF #A6A4D3

Accessibility & contrast

On white

6.58
#5752AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5752AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5752AA#FFFFFF#000000##FFFFFF
##5752AA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#225AA8
Tritanopia (blue-blind)
#396576
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5752aa;
/* rgb */ color: rgb(87, 82, 170);
/* oklch */ color: oklch(48.9% 0.137 282.7);
Tailwind
colors: {
  custom: {
    50: '#8c82c4',
    500: '#5752aa',
    950: '#000000',
  },
}
SCSS
$custom: #5752aa;
$custom-light: #8c82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5752aa",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 243.409,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48899,
    "c": 0.13658,
    "h": 282.7
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#5752AA
secondary
#BEC098
accent
#CB5DC5
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5752AA

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

Preview Lab → · Contrast checker → · Palette generator →

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