#5752BD#5752BD

#5752BD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.163 H 280.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5752BD
RGBrgb(87, 82, 189)
HSLhsl(243, 45%, 53%)
HSVhsv(243, 57%, 74%)
CMYKcmyk(54%, 56.6%, 0%, 25.9%)
CIE-LABlab(40.79, 32.04, -55.92)
CIE-LCHlch(40.79, 64.45, 299.81°)
OKLaboklab(50.26% 0.0308 -0.1601)
OKLCHoklch(50.26% 0.163 280.9)
XYZxyz(16.1302, 11.7340, 49.5492)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752BD #B8BD52
analogous
#5282BD #5752BD #8C52BD
triadic
#5752BD #BD5752 #52BD57
tetradic
#5752BD #BD5282 #B8BD52 #52BD8C
square
#5752BD #BD5282 #B8BD52 #52BD8C
split-complementary
#5752BD #BD8C52 #82BD52
monochromatic
#2C296C #3E3A98 #5752BD #827ECE #ADABDF

Accessibility & contrast

On white

6.27
#5752BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5752BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5752BD#FFFFFF#000000##FFFFFF
##5752BD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#296B7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5752bd;
/* rgb */ color: rgb(87, 82, 189);
/* oklch */ color: oklch(50.3% 0.163 280.9);
Tailwind
colors: {
  custom: {
    50: '#8f83d2',
    500: '#5752bd',
    950: '#000000',
  },
}
SCSS
$custom: #5752bd;
$custom-light: #8f83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5752bd",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 242.804,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.16304,
    "h": 280.9
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#5752BD
secondary
#CACC9E
accent
#D453CE
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5752BD

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

Preview Lab → · Contrast checker → · Palette generator →

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