#5752C8#5752C8

#5752C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.178 H 279.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5752C8
RGBrgb(87, 82, 200)
HSLhsl(243, 52%, 55%)
HSVhsv(243, 59%, 78%)
CMYKcmyk(56.5%, 59%, 0%, 21.6%)
CIE-LABlab(41.58, 35.56, -61.04)
CIE-LCHlch(41.58, 70.64, 300.22°)
OKLaboklab(51.09% 0.0307 -0.1752)
OKLCHoklch(51.09% 0.178 279.9)
XYZxyz(17.3698, 12.2298, 56.0777)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752C8 #C3C852
analogous
#5288C8 #5752C8 #9252C8
triadic
#5752C8 #C85752 #52C857
tetradic
#5752C8 #C85288 #C3C852 #52C892
square
#5752C8 #C85288 #C3C852 #52C892
split-complementary
#5752C8 #C89252 #88C852
monochromatic
#2A2779 #3A35A8 #5752C8 #8480D7 #B1AFE6

Accessibility & contrast

On white

6.09
#5752C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5752C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752C8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752C8#FFFFFF#000000##FFFFFF
##5752C81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#196E85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5752c8;
/* rgb */ color: rgb(87, 82, 200);
/* oklch */ color: oklch(51.1% 0.178 279.9);
Tailwind
colors: {
  custom: {
    50: '#9083da',
    500: '#5752c8',
    950: '#000000',
  },
}
SCSS
$custom: #5752c8;
$custom-light: #9083da;
$custom-dark: #000000;
JSON
{
  "hex": "#5752c8",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 242.542,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51088,
    "c": 0.17784,
    "h": 279.9
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#5752C8
secondary
#D1D4A2
accent
#DB4DD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5752C8

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

Preview Lab → · Contrast checker → · Palette generator →

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