#5E54BC#5E54BC

#5E54BC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.158 H 283.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5E54BC
RGBrgb(94, 84, 188)
HSLhsl(246, 44%, 53%)
HSVhsv(246, 55%, 74%)
CMYKcmyk(50%, 55.3%, 0%, 26.3%)
CIE-LABlab(41.77, 31.94, -53.73)
CIE-LCHlch(41.77, 62.51, 300.73°)
OKLaboklab(51.1% 0.0373 -0.1535)
OKLCHoklch(51.1% 0.158 283.6)
XYZxyz(16.8608, 12.3503, 49.0626)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54BC #B2BC54
analogous
#547EBC #5E54BC #9254BC
triadic
#5E54BC #BC5E54 #54BC5E
tetradic
#5E54BC #BC547E #B2BC54 #54BC92
square
#5E54BC #BC547E #B2BC54 #54BC92
split-complementary
#5E54BC #BC9254 #7EBC54
monochromatic
#302A6B #443B97 #5E54BC #8780CD #B1ACDE

Accessibility & contrast

On white

6.05
#5E54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5E54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54BC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54BC#FFFFFF#000000##FFFFFF
##5E54BC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#095FBA
Tritanopia (blue-blind)
#3B6B80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e54bc;
/* rgb */ color: rgb(94, 84, 188);
/* oklch */ color: oklch(51.1% 0.158 283.6);
Tailwind
colors: {
  custom: {
    50: '#9284d1',
    500: '#5e54bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e54bc;
$custom-light: #9284d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54bc",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 245.769,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.15792,
    "h": 283.6
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#5E54BC
secondary
#C8CCA0
accent
#D354C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5E54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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