#5C52CD#5C52CD

#5C52CD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.184 H 281.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5C52CD
RGBrgb(92, 82, 205)
HSLhsl(245, 55%, 56%)
HSVhsv(245, 60%, 80%)
CMYKcmyk(55.1%, 60%, 0%, 19.6%)
CIE-LABlab(42.33, 38.05, -62.69)
CIE-LCHlch(42.33, 73.33, 301.26°)
OKLaboklab(51.86% 0.0367 -0.1799)
OKLCHoklch(51.86% 0.184 281.5)
XYZxyz(18.4470, 12.7165, 59.2283)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52CD #C3CD52
analogous
#5286CD #5C52CD #9A52CD
triadic
#5C52CD #CD5C52 #52CD5C
tetradic
#5C52CD #CD5286 #C3CD52 #52CD9A
square
#5C52CD #CD5286 #C3CD52 #52CD9A
split-complementary
#5C52CD #CD9A52 #86CD52
monochromatic
#2C2580 #3D33AF #5C52CD #8981DB #B5B1E8

Accessibility & contrast

On white

5.93
#5C52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5C52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52CD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52CD#FFFFFF#000000##FFFFFF
##5C52CD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#256F88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c52cd;
/* rgb */ color: rgb(92, 82, 205);
/* oklch */ color: oklch(51.9% 0.184 281.5);
Tailwind
colors: {
  custom: {
    50: '#9483dd',
    500: '#5c52cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c52cd;
$custom-light: #9483dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52cd",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 244.878,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.18359,
    "h": 281.5
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#5C52CD
secondary
#D3D7A4
accent
#DE49D2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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