#5752BC#5752BC

#5752BC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.162 H 281.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5752BC
RGBrgb(87, 82, 188)
HSLhsl(243, 44%, 53%)
HSVhsv(243, 56%, 74%)
CMYKcmyk(53.7%, 56.4%, 0%, 26.3%)
CIE-LABlab(40.72, 31.72, -55.45)
CIE-LCHlch(40.72, 63.88, 299.77°)
OKLaboklab(50.18% 0.0307 -0.1587)
OKLCHoklch(50.18% 0.162 281)
XYZxyz(16.0221, 11.6907, 48.9795)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752BC #B7BC52
analogous
#5282BC #5752BC #8C52BC
triadic
#5752BC #BC5752 #52BC57
tetradic
#5752BC #BC5282 #B7BC52 #52BC8C
square
#5752BC #BC5282 #B7BC52 #52BC8C
split-complementary
#5752BC #BC8C52 #82BC52
monochromatic
#2C296A #3F3A97 #5752BC #827ECD #ADAADE

Accessibility & contrast

On white

6.29
#5752BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5752BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5752BC#FFFFFF#000000##FFFFFF
##5752BC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#2A6A7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5752bc;
/* rgb */ color: rgb(87, 82, 188);
/* oklch */ color: oklch(50.2% 0.162 281.0);
Tailwind
colors: {
  custom: {
    50: '#8e83d1',
    500: '#5752bc',
    950: '#000000',
  },
}
SCSS
$custom: #5752bc;
$custom-light: #8e83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5752bc",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 242.83,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50181,
    "c": 0.16168,
    "h": 281
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#5752BC
secondary
#CACC9E
accent
#D454CE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5752BC

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

Preview Lab → · Contrast checker → · Palette generator →

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