#5B54DF#5B54DF

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

Color values

HEX#5B54DF
RGBrgb(91, 84, 223)
HSLhsl(243, 68%, 60%)
HSVhsv(243, 62%, 87%)
CMYKcmyk(59.2%, 62.3%, 0%, 12.5%)
CIE-LABlab(44.08, 42.36, -70.16)
CIE-LCHlch(44.08, 81.96, 301.12°)
OKLaboklab(53.54% 0.0326 -0.2019)
OKLCHoklch(53.54% 0.204 279.2)
XYZxyz(20.7998, 13.8910, 71.3829)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B54DF #D8DF54
analogous
#5492DF #5B54DF #A154DF
triadic
#5B54DF #DF5B54 #54DF5B
tetradic
#5B54DF #DF5492 #D8DF54 #54DFA1
square
#5B54DF #DF5492 #D8DF54 #54DFA1
split-complementary
#5B54DF #DFA154 #92DF54
monochromatic
#231D9C #2F27CF #5B54DF #8C88E9 #BEBBF2

Accessibility & contrast

On white

5.56
#5B54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5B54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B54DF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B54DF#FFFFFF#000000##FFFFFF
##5B54DF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.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: #5b54df;
/* rgb */ color: rgb(91, 84, 223);
/* oklch */ color: oklch(53.5% 0.204 279.2);
Tailwind
colors: {
  custom: {
    50: '#9685ea',
    500: '#5b54df',
    950: '#000000',
  },
}
SCSS
$custom: #5b54df;
$custom-light: #9685ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b54df",
  "rgb": {
    "r": 91,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 243.022,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53543,
    "c": 0.20449,
    "h": 279.2
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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