#5C5ABE#5C5ABE

#5C5ABE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.153 H 280.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5C5ABE
RGBrgb(92, 90, 190)
HSLhsl(241, 43%, 55%)
HSVhsv(241, 53%, 75%)
CMYKcmyk(51.6%, 52.6%, 0%, 25.5%)
CIE-LABlab(43.22, 28.44, -52.57)
CIE-LCHlch(43.22, 59.77, 298.42°)
OKLaboklab(52.18% 0.0281 -0.15)
OKLCHoklch(52.18% 0.153 280.6)
XYZxyz(17.3612, 13.3043, 50.3584)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5ABE #BCBE5A
analogous
#5A8ABE #5C5ABE #8E5ABE
triadic
#5C5ABE #BE5C5A #5ABE5C
tetradic
#5C5ABE #BE5A8A #BCBE5A #5ABE8E
square
#5C5ABE #BE5A8A #BCBE5A #5ABE8E
split-complementary
#5C5ABE #BE8E5A #8ABE5A
monochromatic
#2E2D71 #403E9D #5C5ABE #8786CF #B3B2E1

Accessibility & contrast

On white

5.74
#5C5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5C5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5ABE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5ABE#FFFFFF#000000##FFFFFF
##5C5ABE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC1
Deuteranopia (green-blind)
#1962BC
Tritanopia (blue-blind)
#347083
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c5abe;
/* rgb */ color: rgb(92, 90, 190);
/* oklch */ color: oklch(52.2% 0.153 280.6);
Tailwind
colors: {
  custom: {
    50: '#9188d2',
    500: '#5c5abe',
    950: '#000000',
  },
}
SCSS
$custom: #5c5abe;
$custom-light: #9188d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5abe",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 241.2,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.15266,
    "h": 280.6
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#5C5ABE
secondary
#CECFA5
accent
#D355D1
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5C5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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