#5E54BF#5E54BF

#5E54BF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.162 H 283.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5E54BF
RGBrgb(94, 84, 191)
HSLhsl(246, 46%, 54%)
HSVhsv(246, 56%, 75%)
CMYKcmyk(50.8%, 56%, 0%, 25.1%)
CIE-LABlab(41.97, 32.87, -55.15)
CIE-LCHlch(41.97, 64.21, 300.80°)
OKLaboklab(51.32% 0.0373 -0.1576)
OKLCHoklch(51.32% 0.162 283.3)
XYZxyz(17.1876, 12.4810, 50.7835)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54BF #B5BF54
analogous
#5480BF #5E54BF #9454BF
triadic
#5E54BF #BF5E54 #54BF5E
tetradic
#5E54BF #BF5480 #B5BF54 #54BF94
square
#5E54BF #BF5480 #B5BF54 #54BF94
split-complementary
#5E54BF #BF9454 #80BF54
monochromatic
#302A6F #433A9C #5E54BF #8881D0 #B2ADE0

Accessibility & contrast

On white

6.01
#5E54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5E54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54BF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54BF#FFFFFF#000000##FFFFFF
##5E54BF1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C66C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#396C81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e54bf;
/* rgb */ color: rgb(94, 84, 191);
/* oklch */ color: oklch(51.3% 0.162 283.3);
Tailwind
colors: {
  custom: {
    50: '#9384d3',
    500: '#5e54bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e54bf;
$custom-light: #9384d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54bf",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 245.607,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.162,
    "h": 283.3
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#5E54BF
secondary
#CACEA1
accent
#D553C9
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5E54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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