#5C52BC#5C52BC

#5C52BC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.161 H 283.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5C52BC
RGBrgb(92, 82, 188)
HSLhsl(246, 44%, 53%)
HSVhsv(246, 56%, 74%)
CMYKcmyk(51.1%, 56.4%, 0%, 26.3%)
CIE-LABlab(41.12, 32.74, -54.78)
CIE-LCHlch(41.12, 63.82, 300.87°)
OKLaboklab(50.58% 0.037 -0.1566)
OKLCHoklch(50.58% 0.161 283.3)
XYZxyz(16.5053, 11.9399, 49.0021)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52BC #B2BC52
analogous
#527DBC #5C52BC #9152BC
triadic
#5C52BC #BC5C52 #52BC5C
tetradic
#5C52BC #BC527D #B2BC52 #52BC91
square
#5C52BC #BC527D #B2BC52 #52BC91
split-complementary
#5C52BC #BC9152 #7DBC52
monochromatic
#2F296A #433A97 #5C52BC #867ECD #AFAADE

Accessibility & contrast

On white

6.20
#5C52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5C52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52BC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52BC#FFFFFF#000000##FFFFFF
##5C52BC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#376A7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c52bc;
/* rgb */ color: rgb(92, 82, 188);
/* oklch */ color: oklch(50.6% 0.161 283.3);
Tailwind
colors: {
  custom: {
    50: '#9183d1',
    500: '#5c52bc',
    950: '#000000',
  },
}
SCSS
$custom: #5c52bc;
$custom-light: #9183d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52bc",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 245.66,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.16093,
    "h": 283.3
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#5C52BC
secondary
#C7CC9E
accent
#D454C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5C52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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