#5C54BC#5C54BC

#5C54BC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.158 H 282.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5C54BC
RGBrgb(92, 84, 188)
HSLhsl(245, 44%, 53%)
HSVhsv(245, 55%, 74%)
CMYKcmyk(51.1%, 55.3%, 0%, 26.3%)
CIE-LABlab(41.60, 31.52, -54.00)
CIE-LCHlch(41.60, 62.53, 300.27°)
OKLaboklab(50.94% 0.0348 -0.1543)
OKLCHoklch(50.94% 0.158 282.7)
XYZxyz(16.6583, 12.2459, 49.0531)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54BC #B4BC54
analogous
#5480BC #5C54BC #9054BC
triadic
#5C54BC #BC5C54 #54BC5C
tetradic
#5C54BC #BC5480 #B4BC54 #54BC90
square
#5C54BC #BC5480 #B4BC54 #54BC90
split-complementary
#5C54BC #BC9054 #80BC54
monochromatic
#2F2A6B #423B97 #5C54BC #8680CD #B0ACDE

Accessibility & contrast

On white

6.09
#5C54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5C54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54BC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54BC#FFFFFF#000000##FFFFFF
##5C54BC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C0
Deuteranopia (green-blind)
#035FBA
Tritanopia (blue-blind)
#376B80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c54bc;
/* rgb */ color: rgb(92, 84, 188);
/* oklch */ color: oklch(50.9% 0.158 282.7);
Tailwind
colors: {
  custom: {
    50: '#9184d1',
    500: '#5c54bc',
    950: '#000000',
  },
}
SCSS
$custom: #5c54bc;
$custom-light: #9184d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54bc",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 244.615,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.15817,
    "h": 282.7
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#5C54BC
secondary
#C9CCA0
accent
#D354CA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5C54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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