#5B54BC#5B54BC

#5B54BC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.158 H 282.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5B54BC
RGBrgb(91, 84, 188)
HSLhsl(244, 44%, 53%)
HSVhsv(244, 55%, 74%)
CMYKcmyk(51.6%, 55.3%, 0%, 26.3%)
CIE-LABlab(41.52, 31.31, -54.14)
CIE-LCHlch(41.52, 62.54, 300.04°)
OKLaboklab(50.86% 0.0335 -0.1547)
OKLCHoklch(50.86% 0.158 282.2)
XYZxyz(16.5590, 12.1947, 49.0485)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B54BC #B5BC54
analogous
#5481BC #5B54BC #8F54BC
triadic
#5B54BC #BC5B54 #54BC5B
tetradic
#5B54BC #BC5481 #B5BC54 #54BC8F
square
#5B54BC #BC5481 #B5BC54 #54BC8F
split-complementary
#5B54BC #BC8F54 #81BC54
monochromatic
#2F2A6B #423B97 #5B54BC #8580CD #AFACDE

Accessibility & contrast

On white

6.11
#5B54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5B54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B54BC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B54BC#FFFFFF#000000##FFFFFF
##5B54BC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#346C80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b54bc;
/* rgb */ color: rgb(91, 84, 188);
/* oklch */ color: oklch(50.9% 0.158 282.2);
Tailwind
colors: {
  custom: {
    50: '#9184d1',
    500: '#5b54bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b54bc;
$custom-light: #9184d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b54bc",
  "rgb": {
    "r": 91,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 244.038,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.15833,
    "h": 282.2
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#5B54BC
secondary
#C9CCA0
accent
#D354CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5B54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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