#5C52BF#5C52BF

#5C52BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.165 H 283.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5C52BF
RGBrgb(92, 82, 191)
HSLhsl(246, 46%, 54%)
HSVhsv(246, 57%, 75%)
CMYKcmyk(51.8%, 57.1%, 0%, 25.1%)
CIE-LABlab(41.33, 33.68, -56.20)
CIE-LCHlch(41.33, 65.52, 300.93°)
OKLaboklab(50.8% 0.037 -0.1608)
OKLCHoklch(50.8% 0.165 283)
XYZxyz(16.8320, 12.0706, 50.7230)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52BF #B5BF52
analogous
#527EBF #5C52BF #9252BF
triadic
#5C52BF #BF5C52 #52BF5C
tetradic
#5C52BF #BF527E #B5BF52 #52BF92
square
#5C52BF #BF527E #B5BF52 #52BF92
split-complementary
#5C52BF #BF9252 #7EBF52
monochromatic
#2F296E #42399B #5C52BF #867FD0 #B0ABE0

Accessibility & contrast

On white

6.15
#5C52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C52BF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52BF#FFFFFF#000000##FFFFFF
##5C52BF1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#346B80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c52bf;
/* rgb */ color: rgb(92, 82, 191);
/* oklch */ color: oklch(50.8% 0.165 283.0);
Tailwind
colors: {
  custom: {
    50: '#9283d3',
    500: '#5c52bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c52bf;
$custom-light: #9283d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52bf",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 245.505,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.16499,
    "h": 283
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#5C52BF
secondary
#C9CE9F
accent
#D652CA
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5C52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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