#5C54EF#5C54EF

#5C54EF is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.9% C 0.224 H 278.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C54EF
RGBrgb(92, 84, 239)
HSLhsl(243, 83%, 63%)
HSVhsv(243, 65%, 94%)
CMYKcmyk(61.5%, 64.9%, 0%, 6.3%)
CIE-LABlab(45.42, 47.54, -77.01)
CIE-LCHlch(45.42, 90.50, 301.69°)
OKLaboklab(54.94% 0.0325 -0.2219)
OKLCHoklch(54.94% 0.224 278.3)
XYZxyz(23.1589, 14.8462, 83.2898)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54EF #E7EF54
analogous
#5499EF #5C54EF #A954EF
triadic
#5C54EF #EF5C54 #54EF5C
tetradic
#5C54EF #EF5499 #E7EF54 #54EFA9
square
#5C54EF #EF5499 #E7EF54 #54EFA9
split-complementary
#5C54EF #EFA954 #99EF54
monochromatic
#1A11B7 #271CEA #5C54EF #918CF4 #C7C4F9

Accessibility & contrast

On white

5.29
#5C54EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5C54EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54EF#FFFFFF#000000##FFFFFF
##5C54EF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c54ef;
/* rgb */ color: rgb(92, 84, 239);
/* oklch */ color: oklch(54.9% 0.224 278.3);
Tailwind
colors: {
  custom: {
    50: '#9985f5',
    500: '#5c54ef',
    950: '#000000',
  },
}
SCSS
$custom: #5c54ef;
$custom-light: #9985f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54ef",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 243.097,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.22429,
    "h": 278.3
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#5C54EF
secondary
#E8EBB4
accent
#DF06D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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