#5C54BB#5C54BB

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

Color values

HEX#5C54BB
RGBrgb(92, 84, 187)
HSLhsl(245, 43%, 53%)
HSVhsv(245, 55%, 73%)
CMYKcmyk(50.8%, 55.1%, 0%, 26.7%)
CIE-LABlab(41.54, 31.21, -53.53)
CIE-LCHlch(41.54, 61.96, 300.24°)
OKLaboklab(50.87% 0.0347 -0.1529)
OKLCHoklch(50.87% 0.157 282.8)
XYZxyz(16.5509, 12.2029, 48.4874)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54BB #B3BB54
analogous
#547FBB #5C54BB #8F54BB
triadic
#5C54BB #BB5C54 #54BB5C
tetradic
#5C54BB #BB547F #B3BB54 #54BB8F
square
#5C54BB #BB547F #B3BB54 #54BB8F
split-complementary
#5C54BB #BB8F54 #7FBB54
monochromatic
#2F2A6A #433C96 #5C54BB #8680CC #AFACDE

Accessibility & contrast

On white

6.10
#5C54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C54BB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54BB#FFFFFF#000000##FFFFFF
##5C54BB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BF
Deuteranopia (green-blind)
#085EB9
Tritanopia (blue-blind)
#376B7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c54bb;
/* rgb */ color: rgb(92, 84, 187);
/* oklch */ color: oklch(50.9% 0.157 282.8);
Tailwind
colors: {
  custom: {
    50: '#9184d0',
    500: '#5c54bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c54bb;
$custom-light: #9184d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54bb",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 244.66,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.15681,
    "h": 282.8
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#5C54BB
secondary
#C8CC9F
accent
#D355C9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5C54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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