#5E54BD#5E54BD

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

Color values

HEX#5E54BD
RGBrgb(94, 84, 189)
HSLhsl(246, 44%, 54%)
HSVhsv(246, 56%, 74%)
CMYKcmyk(50.3%, 55.6%, 0%, 25.9%)
CIE-LABlab(41.84, 32.25, -54.21)
CIE-LCHlch(41.84, 63.08, 300.75°)
OKLaboklab(51.17% 0.0373 -0.1549)
OKLCHoklch(51.17% 0.159 283.5)
XYZxyz(16.9690, 12.3936, 49.6323)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54BD #B3BD54
analogous
#547EBD #5E54BD #9254BD
triadic
#5E54BD #BD5E54 #54BD5E
tetradic
#5E54BD #BD547E #B3BD54 #54BD92
square
#5E54BD #BD547E #B3BD54 #54BD92
split-complementary
#5E54BD #BD9254 #7EBD54
monochromatic
#302A6D #443B99 #5E54BD #8880CE #B1ACDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E54BD#FFFFFF#000000##FFFFFF
##5E54BD1.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)
#1266C1
Deuteranopia (green-blind)
#055FBB
Tritanopia (blue-blind)
#3A6C80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e54bd;
/* rgb */ color: rgb(94, 84, 189);
/* oklch */ color: oklch(51.2% 0.159 283.5);
Tailwind
colors: {
  custom: {
    50: '#9384d2',
    500: '#5e54bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e54bd;
$custom-light: #9384d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54bd",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 245.714,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.15928,
    "h": 283.5
  },
  "luminance": 0.12394
}

Semantic roles & 50–950 ramp

primary
#5E54BD
secondary
#C9CDA0
accent
#D454C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5E54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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