#5C54EB#5C54EB

#5C54EB is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.219 H 278.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5C54EB
RGBrgb(92, 84, 235)
HSLhsl(243, 79%, 63%)
HSVhsv(243, 64%, 92%)
CMYKcmyk(60.9%, 64.3%, 0%, 7.8%)
CIE-LABlab(45.10, 46.29, -75.29)
CIE-LCHlch(45.10, 88.38, 301.58°)
OKLaboklab(54.6% 0.0329 -0.2169)
OKLCHoklch(54.6% 0.219 278.6)
XYZxyz(22.5746, 14.6124, 80.2120)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54EB #E3EB54
analogous
#5497EB #5C54EB #A854EB
triadic
#5C54EB #EB5C54 #54EB5C
tetradic
#5C54EB #EB5497 #E3EB54 #54EBA8
square
#5C54EB #EB5497 #E3EB54 #54EBA8
split-complementary
#5C54EB #EBA854 #97EB54
monochromatic
#1D15B0 #281DE5 #5C54EB #908BF1 #C4C2F8

Accessibility & contrast

On white

5.35
#5C54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5C54EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54EB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54EB#FFFFFF#000000##FFFFFF
##5C54EB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c54eb;
/* rgb */ color: rgb(92, 84, 235);
/* oklch */ color: oklch(54.6% 0.219 278.6);
Tailwind
colors: {
  custom: {
    50: '#9885f3',
    500: '#5c54eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c54eb;
$custom-light: #9885f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54eb",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 243.179,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54602,
    "c": 0.21936,
    "h": 278.6
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#5C54EB
secondary
#E6E9B2
accent
#DB0AD0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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