#5C52CC#5C52CC

#5C52CC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.182 H 281.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5C52CC
RGBrgb(92, 82, 204)
HSLhsl(245, 54%, 56%)
HSVhsv(245, 60%, 80%)
CMYKcmyk(54.9%, 59.8%, 0%, 20%)
CIE-LABlab(42.26, 37.74, -62.23)
CIE-LCHlch(42.26, 72.78, 301.24°)
OKLaboklab(51.78% 0.0368 -0.1785)
OKLCHoklch(51.78% 0.182 281.6)
XYZxyz(18.3266, 12.6684, 58.5946)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52CC #C2CC52
analogous
#5285CC #5C52CC #9952CC
triadic
#5C52CC #CC5C52 #52CC5C
tetradic
#5C52CC #CC5285 #C2CC52 #52CC99
square
#5C52CC #CC5285 #C2CC52 #52CC99
split-complementary
#5C52CC #CC9952 #85CC52
monochromatic
#2D257E #3D33AE #5C52CC #8981DA #B5B1E8

Accessibility & contrast

On white

5.94
#5C52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5C52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52CC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52CC#FFFFFF#000000##FFFFFF
##5C52CC1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#276F87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c52cc;
/* rgb */ color: rgb(92, 82, 204);
/* oklch */ color: oklch(51.8% 0.182 281.6);
Tailwind
colors: {
  custom: {
    50: '#9483dc',
    500: '#5c52cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c52cc;
$custom-light: #9483dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52cc",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 244.918,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.18228,
    "h": 281.6
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#5C52CC
secondary
#D2D6A4
accent
#DE4AD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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