#5C54DF#5C54DF

#5C54DF is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.204 H 279.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5C54DF
RGBrgb(92, 84, 223)
HSLhsl(243, 68%, 60%)
HSVhsv(243, 62%, 87%)
CMYKcmyk(58.7%, 62.3%, 0%, 12.5%)
CIE-LABlab(44.15, 42.52, -70.04)
CIE-LCHlch(44.15, 81.94, 301.26°)
OKLaboklab(53.62% 0.0339 -0.2015)
OKLCHoklch(53.62% 0.204 279.5)
XYZxyz(20.8990, 13.9422, 71.3875)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54DF #D7DF54
analogous
#5492DF #5C54DF #A154DF
triadic
#5C54DF #DF5C54 #54DF5C
tetradic
#5C54DF #DF5492 #D7DF54 #54DFA1
square
#5C54DF #DF5492 #D7DF54 #54DFA1
split-complementary
#5C54DF #DFA154 #92DF54
monochromatic
#241D9C #3027CF #5C54DF #8D88E9 #BEBBF2

Accessibility & contrast

On white

5.54
#5C54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5C54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54DF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54DF#FFFFFF#000000##FFFFFF
##5C54DF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c54df;
/* rgb */ color: rgb(92, 84, 223);
/* oklch */ color: oklch(53.6% 0.204 279.5);
Tailwind
colors: {
  custom: {
    50: '#9685ea',
    500: '#5c54df',
    950: '#000000',
  },
}
SCSS
$custom: #5c54df;
$custom-light: #9685ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54df",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 243.453,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.20431,
    "h": 279.5
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#5C54DF
secondary
#DFE2AD
accent
#D015C6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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