#5B54FA#5B54FA

#5B54FA is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.8% C 0.238 H 277.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B54FA
RGBrgb(91, 84, 250)
HSLhsl(243, 94%, 65%)
HSVhsv(243, 66%, 98%)
CMYKcmyk(63.6%, 66.4%, 0%, 2%)
CIE-LABlab(46.26, 50.84, -81.80)
CIE-LCHlch(46.26, 96.31, 301.86°)
OKLaboklab(55.81% 0.03 -0.236)
OKLCHoklch(55.81% 0.238 277.3)
XYZxyz(24.7344, 15.4649, 92.1055)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B54FA #F3FA54
analogous
#54A0FA #5B54FA #AE54FA
triadic
#5B54FA #FA5B54 #54FA5B
tetradic
#5B54FA #FA54A0 #F3FA54 #54FAAE
square
#5B54FA #FA54A0 #F3FA54 #54FAAE
split-complementary
#5B54FA #FAAE54 #A0FA54
monochromatic
#0E06CE #2219F8 #5B54FA #948FFC #CDCBFD

Accessibility & contrast

On white

5.13
#5B54FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5B54FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B54FA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B54FA#FFFFFF#000000##FFFFFF
##5B54FA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0067F7
Tritanopia (blue-blind)
#0080A0
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b54fa;
/* rgb */ color: rgb(91, 84, 250);
/* oklch */ color: oklch(55.8% 0.238 277.3);
Tailwind
colors: {
  custom: {
    50: '#9b85fd',
    500: '#5b54fa',
    950: '#000000',
  },
}
SCSS
$custom: #5b54fa;
$custom-light: #9b85fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b54fa",
  "rgb": {
    "r": 91,
    "g": 84,
    "b": 250
  },
  "hsl": {
    "h": 242.53,
    "s": 94.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.23789,
    "h": 277.3
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#5B54FA
secondary
#EEF1B9
accent
#E600DC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5B54FA

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

Preview Lab → · Contrast checker → · Palette generator →

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