#5D54BE#5D54BE

#5D54BE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.161 H 283.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5D54BE
RGBrgb(93, 84, 190)
HSLhsl(245, 45%, 54%)
HSVhsv(245, 56%, 75%)
CMYKcmyk(51.1%, 55.8%, 0%, 25.5%)
CIE-LABlab(41.82, 32.35, -54.82)
CIE-LCHlch(41.82, 63.65, 300.55°)
OKLaboklab(51.16% 0.0361 -0.1567)
OKLCHoklch(51.16% 0.161 283)
XYZxyz(16.9760, 12.3846, 50.2012)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54BE #B5BE54
analogous
#5480BE #5D54BE #9254BE
triadic
#5D54BE #BE5D54 #54BE5D
tetradic
#5D54BE #BE5480 #B5BE54 #54BE92
square
#5D54BE #BE5480 #B5BE54 #54BE92
split-complementary
#5D54BE #BE9254 #80BE54
monochromatic
#302A6E #433B9A #5D54BE #8780CF #B1ADE0

Accessibility & contrast

On white

6.04
#5D54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5D54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54BE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54BE#FFFFFF#000000##FFFFFF
##5D54BE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#376C81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d54be;
/* rgb */ color: rgb(93, 84, 190);
/* oklch */ color: oklch(51.2% 0.161 283.0);
Tailwind
colors: {
  custom: {
    50: '#9284d2',
    500: '#5d54be',
    950: '#000000',
  },
}
SCSS
$custom: #5d54be;
$custom-light: #9284d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54be",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 245.094,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.16077,
    "h": 283
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#5D54BE
secondary
#CACEA0
accent
#D553CA
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5D54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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