#5C52CA#5C52CA

#5C52CA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.180 H 281.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5C52CA
RGBrgb(92, 82, 202)
HSLhsl(245, 53%, 56%)
HSVhsv(245, 59%, 79%)
CMYKcmyk(54.5%, 59.4%, 0%, 20.8%)
CIE-LABlab(42.11, 37.11, -61.31)
CIE-LCHlch(42.11, 71.67, 301.19°)
OKLaboklab(51.63% 0.0368 -0.1758)
OKLCHoklch(51.63% 0.18 281.8)
XYZxyz(18.0883, 12.5731, 57.3394)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52CA #C0CA52
analogous
#5284CA #5C52CA #9852CA
triadic
#5C52CA #CA5C52 #52CA5C
tetradic
#5C52CA #CA5284 #C0CA52 #52CA98
square
#5C52CA #CA5284 #C0CA52 #52CA98
split-complementary
#5C52CA #CA9852 #84CA52
monochromatic
#2D267C #3E34AB #5C52CA #8881D8 #B4B0E7

Accessibility & contrast

On white

5.97
#5C52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5C52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52CA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52CA#FFFFFF#000000##FFFFFF
##5C52CA1.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#296E86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c52ca;
/* rgb */ color: rgb(92, 82, 202);
/* oklch */ color: oklch(51.6% 0.180 281.8);
Tailwind
colors: {
  custom: {
    50: '#9383db',
    500: '#5c52ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c52ca;
$custom-light: #9383db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52ca",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 245,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.17965,
    "h": 281.8
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#5C52CA
secondary
#D1D5A3
accent
#DD4BD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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