#5C54CA#5C54CA

#5C54CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.177 H 281.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5C54CA
RGBrgb(92, 84, 202)
HSLhsl(244, 53%, 56%)
HSVhsv(244, 58%, 79%)
CMYKcmyk(54.5%, 58.4%, 0%, 20.8%)
CIE-LABlab(42.58, 35.91, -60.56)
CIE-LCHlch(42.58, 70.40, 300.67°)
OKLaboklab(51.97% 0.0348 -0.1736)
OKLCHoklch(51.97% 0.177 281.3)
XYZxyz(18.2413, 12.8791, 57.3904)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54CA #C2CA54
analogous
#5487CA #5C54CA #9754CA
triadic
#5C54CA #CA5C54 #54CA5C
tetradic
#5C54CA #CA5487 #C2CA54 #54CA97
square
#5C54CA #CA5487 #C2CA54 #54CA97
split-complementary
#5C54CA #CA9754 #87CA54
monochromatic
#2D277D #3D35AC #5C54CA #8983D8 #B5B1E7

Accessibility & contrast

On white

5.87
#5C54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5C54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54CA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54CA#FFFFFF#000000##FFFFFF
##5C54CA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#297087
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c54ca;
/* rgb */ color: rgb(92, 84, 202);
/* oklch */ color: oklch(52.0% 0.177 281.3);
Tailwind
colors: {
  custom: {
    50: '#9384db',
    500: '#5c54ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c54ca;
$custom-light: #9384db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54ca",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 244.068,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.17705,
    "h": 281.3
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#5C54CA
secondary
#D2D5A5
accent
#DC4CD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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