#5752AC#5752AC

#5752AC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.139 H 282.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5752AC
RGBrgb(87, 82, 172)
HSLhsl(243, 35%, 50%)
HSVhsv(243, 52%, 67%)
CMYKcmyk(49.4%, 52.3%, 0%, 32.5%)
CIE-LABlab(39.65, 26.65, -47.77)
CIE-LCHlch(39.65, 54.70, 299.16°)
OKLaboklab(49.04% 0.0301 -0.1361)
OKLCHoklch(49.04% 0.139 282.5)
XYZxyz(14.3919, 11.0386, 40.3941)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752AC #A7AC52
analogous
#527AAC #5752AC #8452AC
triadic
#5752AC #AC5752 #52AC57
tetradic
#5752AC #AC527A #A7AC52 #52AC84
square
#5752AC #AC527A #A7AC52 #52AC84
split-complementary
#5752AC #AC8452 #7AAC52
monochromatic
#2D2A59 #423E83 #5752AC #7F7BC0 #A7A5D4

Accessibility & contrast

On white

6.55
#5752AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5752AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5752AC#FFFFFF#000000##FFFFFF
##5752AC1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#1F5AAA
Tritanopia (blue-blind)
#386677
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5752ac;
/* rgb */ color: rgb(87, 82, 172);
/* oklch */ color: oklch(49.0% 0.139 282.5);
Tailwind
colors: {
  custom: {
    50: '#8c82c5',
    500: '#5752ac',
    950: '#000000',
  },
}
SCSS
$custom: #5752ac;
$custom-light: #8c82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5752ac",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 243.333,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.13942,
    "h": 282.5
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#5752AC
secondary
#BFC199
accent
#CB5CC5
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5752AC

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

Preview Lab → · Contrast checker → · Palette generator →

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