#5C54CD#5C54CD

#5C54CD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.181 H 281.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5C54CD
RGBrgb(92, 84, 205)
HSLhsl(244, 55%, 57%)
HSVhsv(244, 59%, 80%)
CMYKcmyk(55.1%, 59%, 0%, 19.6%)
CIE-LABlab(42.80, 36.85, -61.93)
CIE-LCHlch(42.80, 72.07, 300.75°)
OKLaboklab(52.2% 0.0347 -0.1776)
OKLCHoklch(52.2% 0.181 281.1)
XYZxyz(18.6000, 13.0226, 59.2793)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54CD #C5CD54
analogous
#5489CD #5C54CD #9954CD
triadic
#5C54CD #CD5C54 #54CD5C
tetradic
#5C54CD #CD5489 #C5CD54 #54CD99
square
#5C54CD #CD5489 #C5CD54 #54CD99
split-complementary
#5C54CD #CD9954 #89CD54
monochromatic
#2C2681 #3C34B0 #5C54CD #8983DB #B6B3E9

Accessibility & contrast

On white

5.83
#5C54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5C54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54CD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54CD#FFFFFF#000000##FFFFFF
##5C54CD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#257188
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c54cd;
/* rgb */ color: rgb(92, 84, 205);
/* oklch */ color: oklch(52.2% 0.181 281.1);
Tailwind
colors: {
  custom: {
    50: '#9484dd',
    500: '#5c54cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c54cd;
$custom-light: #9484dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54cd",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 243.967,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.18101,
    "h": 281.1
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#5C54CD
secondary
#D4D7A6
accent
#DE4AD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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