#5C5AAA#5C5AAA

#5C5AAA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.124 H 282.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5C5AAA
RGBrgb(92, 90, 170)
HSLhsl(242, 32%, 51%)
HSVhsv(242, 47%, 67%)
CMYKcmyk(45.9%, 47.1%, 0%, 33.3%)
CIE-LABlab(41.98, 22.20, -42.82)
CIE-LCHlch(41.98, 48.23, 297.41°)
OKLaboklab(50.86% 0.0262 -0.1214)
OKLCHoklch(50.86% 0.124 282.2)
XYZxyz(15.3233, 12.4892, 39.6257)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AAA #A8AA5A
analogous
#5A80AA #5C5AAA #845AAA
triadic
#5C5AAA #AA5C5A #5AAA5C
tetradic
#5C5AAA #AA5A80 #A8AA5A #5AAA84
square
#5C5AAA #AA5A80 #A8AA5A #5AAA84
split-complementary
#5C5AAA #AA845A #80AA5A
monochromatic
#302F5B #454483 #5C5AAA #8482BF #ACABD4

Accessibility & contrast

On white

6.00
#5C5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5C5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5AAA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5AAA#FFFFFF#000000##FFFFFF
##5C5AAA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#426B7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c5aaa;
/* rgb */ color: rgb(92, 90, 170);
/* oklch */ color: oklch(50.9% 0.124 282.2);
Tailwind
colors: {
  custom: {
    50: '#8f88c4',
    500: '#5c5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #5c5aaa;
$custom-light: #8f88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5aaa",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 241.5,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.12422,
    "h": 282.2
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#5C5AAA
secondary
#C1C29E
accent
#C860C6
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #5C5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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