#5C52CF#5C52CF

#5C52CF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.186 H 281.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5C52CF
RGBrgb(92, 82, 207)
HSLhsl(245, 57%, 57%)
HSVhsv(245, 60%, 81%)
CMYKcmyk(55.6%, 60.4%, 0%, 18.8%)
CIE-LABlab(42.48, 38.68, -63.60)
CIE-LCHlch(42.48, 74.44, 301.31°)
OKLaboklab(52.01% 0.0366 -0.1826)
OKLCHoklch(52.01% 0.186 281.3)
XYZxyz(18.6899, 12.8137, 60.5078)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52CF #C5CF52
analogous
#5287CF #5C52CF #9B52CF
triadic
#5C52CF #CF5C52 #52CF5C
tetradic
#5C52CF #CF5287 #C5CF52 #52CF9B
square
#5C52CF #CF5287 #C5CF52 #52CF9B
split-complementary
#5C52CF #CF9B52 #87CF52
monochromatic
#2C2482 #3C31B2 #5C52CF #8982DC #B6B2EA

Accessibility & contrast

On white

5.89
#5C52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5C52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52CF#FFFFFF#000000##FFFFFF
##5C52CF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#227089
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c52cf;
/* rgb */ color: rgb(92, 82, 207);
/* oklch */ color: oklch(52.0% 0.186 281.3);
Tailwind
colors: {
  custom: {
    50: '#9483df',
    500: '#5c52cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c52cf;
$custom-light: #9483df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52cf",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 244.8,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.1862,
    "h": 281.3
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#5C52CF
secondary
#D4D8A5
accent
#E048D4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C52CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5C52CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva