#5752BF#5752BF

#5752BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.166 H 280.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5752BF
RGBrgb(87, 82, 191)
HSLhsl(243, 46%, 54%)
HSVhsv(243, 57%, 75%)
CMYKcmyk(54.5%, 57.1%, 0%, 25.1%)
CIE-LABlab(40.93, 32.68, -56.86)
CIE-LCHlch(40.93, 65.58, 299.89°)
OKLaboklab(50.4% 0.0308 -0.1629)
OKLCHoklch(50.4% 0.166 280.7)
XYZxyz(16.3488, 11.8214, 50.7004)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752BF #BABF52
analogous
#5283BF #5752BF #8D52BF
triadic
#5752BF #BF5752 #52BF57
tetradic
#5752BF #BF5283 #BABF52 #52BF8D
square
#5752BF #BF5283 #BABF52 #52BF8D
split-complementary
#5752BF #BF8D52 #83BF52
monochromatic
#2C296E #3E399B #5752BF #827FD0 #AEABE0

Accessibility & contrast

On white

6.24
#5752BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5752BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5752BF#FFFFFF#000000##FFFFFF
##5752BF1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#276B80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5752bf;
/* rgb */ color: rgb(87, 82, 191);
/* oklch */ color: oklch(50.4% 0.166 280.7);
Tailwind
colors: {
  custom: {
    50: '#8f83d3',
    500: '#5752bf',
    950: '#000000',
  },
}
SCSS
$custom: #5752bf;
$custom-light: #8f83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5752bf",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 242.752,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50404,
    "c": 0.16576,
    "h": 280.7
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#5752BF
secondary
#CCCE9F
accent
#D652D0
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5752BF

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

Preview Lab → · Contrast checker → · Palette generator →

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