#5E54BB#5E54BB

#5E54BB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.157 H 283.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5E54BB
RGBrgb(94, 84, 187)
HSLhsl(246, 43%, 53%)
HSVhsv(246, 55%, 73%)
CMYKcmyk(49.7%, 55.1%, 0%, 26.7%)
CIE-LABlab(41.70, 31.64, -53.25)
CIE-LCHlch(41.70, 61.94, 300.71°)
OKLaboklab(51.03% 0.0372 -0.1521)
OKLCHoklch(51.03% 0.157 283.8)
XYZxyz(16.7534, 12.3073, 48.4969)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54BB #B1BB54
analogous
#547DBB #5E54BB #9154BB
triadic
#5E54BB #BB5E54 #54BB5E
tetradic
#5E54BB #BB547D #B1BB54 #54BB91
square
#5E54BB #BB547D #B1BB54 #54BB91
split-complementary
#5E54BB #BB9154 #7DBB54
monochromatic
#302A6A #443C96 #5E54BB #8780CC #B0ACDE

Accessibility & contrast

On white

6.07
#5E54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5E54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54BB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54BB#FFFFFF#000000##FFFFFF
##5E54BB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#0D5FB9
Tritanopia (blue-blind)
#3C6B7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e54bb;
/* rgb */ color: rgb(94, 84, 187);
/* oklch */ color: oklch(51.0% 0.157 283.8);
Tailwind
colors: {
  custom: {
    50: '#9284d0',
    500: '#5e54bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e54bb;
$custom-light: #9284d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54bb",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 245.825,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.15655,
    "h": 283.8
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#5E54BB
secondary
#C7CC9F
accent
#D355C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5E54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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