#5C52BE#5C52BE

#5C52BE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.164 H 283.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5C52BE
RGBrgb(92, 82, 190)
HSLhsl(246, 45%, 53%)
HSVhsv(246, 57%, 75%)
CMYKcmyk(51.6%, 56.8%, 0%, 25.5%)
CIE-LABlab(41.26, 33.37, -55.73)
CIE-LCHlch(41.26, 64.95, 300.91°)
OKLaboklab(50.72% 0.037 -0.1594)
OKLCHoklch(50.72% 0.164 283.1)
XYZxyz(16.7224, 12.0267, 50.1455)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52BE #B4BE52
analogous
#527EBE #5C52BE #9252BE
triadic
#5C52BE #BE5C52 #52BE5C
tetradic
#5C52BE #BE527E #B4BE52 #52BE92
square
#5C52BE #BE527E #B4BE52 #52BE92
split-complementary
#5C52BE #BE9252 #7EBE52
monochromatic
#2F296D #423A99 #5C52BE #867ECF #B0ABDF

Accessibility & contrast

On white

6.17
#5C52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5C52BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52BE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52BE#FFFFFF#000000##FFFFFF
##5C52BE1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#356B80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c52be;
/* rgb */ color: rgb(92, 82, 190);
/* oklch */ color: oklch(50.7% 0.164 283.1);
Tailwind
colors: {
  custom: {
    50: '#9283d2',
    500: '#5c52be',
    950: '#000000',
  },
}
SCSS
$custom: #5c52be;
$custom-light: #9283d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52be",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 245.556,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50724,
    "c": 0.16364,
    "h": 283.1
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#5C52BE
secondary
#C9CD9F
accent
#D553C9
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5C52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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