#5E54DF#5E54DF

#5E54DF is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.204 H 280.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5E54DF
RGBrgb(94, 84, 223)
HSLhsl(244, 68%, 60%)
HSVhsv(244, 62%, 87%)
CMYKcmyk(57.8%, 62.3%, 0%, 12.5%)
CIE-LABlab(44.30, 42.85, -69.79)
CIE-LCHlch(44.30, 81.89, 301.55°)
OKLaboklab(53.76% 0.0363 -0.2007)
OKLCHoklch(53.76% 0.204 280.3)
XYZxyz(21.1015, 14.0466, 71.3970)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54DF #D5DF54
analogous
#548FDF #5E54DF #A454DF
triadic
#5E54DF #DF5E54 #54DF5E
tetradic
#5E54DF #DF548F #D5DF54 #54DFA4
square
#5E54DF #DF548F #D5DF54 #54DFA4
split-complementary
#5E54DF #DFA454 #8FDF54
monochromatic
#261D9C #3327CF #5E54DF #8F88E9 #BFBBF2

Accessibility & contrast

On white

5.51
#5E54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5E54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54DF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54DF#FFFFFF#000000##FFFFFF
##5E54DF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e54df;
/* rgb */ color: rgb(94, 84, 223);
/* oklch */ color: oklch(53.8% 0.204 280.3);
Tailwind
colors: {
  custom: {
    50: '#9885ea',
    500: '#5e54df',
    950: '#000000',
  },
}
SCSS
$custom: #5e54df;
$custom-light: #9885ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54df",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 244.317,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.20394,
    "h": 280.3
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#5E54DF
secondary
#DEE2AD
accent
#D015C3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5E54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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