#5C54BE#5C54BE

#5C54BE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.161 H 282.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5C54BE
RGBrgb(92, 84, 190)
HSLhsl(245, 45%, 54%)
HSVhsv(245, 56%, 75%)
CMYKcmyk(51.6%, 55.8%, 0%, 25.5%)
CIE-LABlab(41.74, 32.14, -54.95)
CIE-LCHlch(41.74, 63.66, 300.33°)
OKLaboklab(51.08% 0.0348 -0.1571)
OKLCHoklch(51.08% 0.161 282.5)
XYZxyz(16.8754, 12.3327, 50.1965)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54BE #B6BE54
analogous
#5481BE #5C54BE #9154BE
triadic
#5C54BE #BE5C54 #54BE5C
tetradic
#5C54BE #BE5481 #B6BE54 #54BE91
square
#5C54BE #BE5481 #B6BE54 #54BE91
split-complementary
#5C54BE #BE9154 #81BE54
monochromatic
#2F2A6E #423B9A #5C54BE #8680CF #B1ADE0

Accessibility & contrast

On white

6.06
#5C54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5C54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54BE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54BE#FFFFFF#000000##FFFFFF
##5C54BE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#356C81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c54be;
/* rgb */ color: rgb(92, 84, 190);
/* oklch */ color: oklch(51.1% 0.161 282.5);
Tailwind
colors: {
  custom: {
    50: '#9184d2',
    500: '#5c54be',
    950: '#000000',
  },
}
SCSS
$custom: #5c54be;
$custom-light: #9184d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54be",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 244.528,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.16091,
    "h": 282.5
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#5C54BE
secondary
#CACEA0
accent
#D553CB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5C54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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