#5752AF#5752AF

#5752AF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.144 H 282.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5752AF
RGBrgb(87, 82, 175)
HSLhsl(243, 37%, 50%)
HSVhsv(243, 53%, 69%)
CMYKcmyk(50.3%, 53.1%, 0%, 31.4%)
CIE-LABlab(39.84, 27.59, -49.23)
CIE-LCHlch(39.84, 56.43, 299.27°)
OKLaboklab(49.25% 0.0303 -0.1404)
OKLCHoklch(49.25% 0.144 282.2)
XYZxyz(14.6833, 11.1552, 41.9286)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752AF #AAAF52
analogous
#527BAF #5752AF #8552AF
triadic
#5752AF #AF5752 #52AF57
tetradic
#5752AF #AF527B #AAAF52 #52AF85
square
#5752AF #AF527B #AAAF52 #52AF85
split-complementary
#5752AF #AF8552 #7BAF52
monochromatic
#2D2B5C #423E86 #5752AF #807CC2 #A8A6D6

Accessibility & contrast

On white

6.50
#5752AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5752AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5752AF#FFFFFF#000000##FFFFFF
##5752AF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#366778
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5752af;
/* rgb */ color: rgb(87, 82, 175);
/* oklch */ color: oklch(49.2% 0.144 282.2);
Tailwind
colors: {
  custom: {
    50: '#8d82c7',
    500: '#5752af',
    950: '#000000',
  },
}
SCSS
$custom: #5752af;
$custom-light: #8d82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5752af",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 243.226,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.14366,
    "h": 282.2
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#5752AF
secondary
#C1C39A
accent
#CD5BC7
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5752AF

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

Preview Lab → · Contrast checker → · Palette generator →

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