#5A54DF#5A54DF

#5A54DF is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.205 H 278.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5A54DF
RGBrgb(90, 84, 223)
HSLhsl(243, 68%, 60%)
HSVhsv(243, 62%, 87%)
CMYKcmyk(59.6%, 62.3%, 0%, 12.5%)
CIE-LABlab(44.00, 42.20, -70.29)
CIE-LCHlch(44.00, 81.98, 300.98°)
OKLaboklab(53.47% 0.0314 -0.2023)
OKLCHoklch(53.47% 0.205 278.8)
XYZxyz(20.7018, 13.8405, 71.3783)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A54DF #D9DF54
analogous
#5493DF #5A54DF #9F54DF
triadic
#5A54DF #DF5A54 #54DF5A
tetradic
#5A54DF #DF5493 #D9DF54 #54DF9F
square
#5A54DF #DF5493 #D9DF54 #54DF9F
split-complementary
#5A54DF #DF9F54 #93DF54
monochromatic
#231D9C #2E27CF #5A54DF #8C88E9 #BDBBF2

Accessibility & contrast

On white

5.57
#5A54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5A54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A54DF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A54DF#FFFFFF#000000##FFFFFF
##5A54DF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a54df;
/* rgb */ color: rgb(90, 84, 223);
/* oklch */ color: oklch(53.5% 0.205 278.8);
Tailwind
colors: {
  custom: {
    50: '#9585ea',
    500: '#5a54df',
    950: '#000000',
  },
}
SCSS
$custom: #5a54df;
$custom-light: #9585ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a54df",
  "rgb": {
    "r": 90,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 242.59,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.20468,
    "h": 278.8
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#5A54DF
secondary
#E0E2AD
accent
#D015C8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5A54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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