#5B5ACE#5B5ACE

#5B5ACE is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.175 H 279.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5B5ACE
RGBrgb(91, 90, 206)
HSLhsl(241, 54%, 58%)
HSVhsv(241, 56%, 81%)
CMYKcmyk(55.8%, 56.3%, 0%, 19.2%)
CIE-LABlab(44.22, 33.33, -60.21)
CIE-LCHlch(44.22, 68.82, 298.97°)
OKLaboklab(53.26% 0.0275 -0.1726)
OKLCHoklch(53.26% 0.175 279)
XYZxyz(19.1076, 13.9914, 60.0743)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5ACE #CDCE5A
analogous
#5A93CE #5B5ACE #955ACE
triadic
#5B5ACE #CE5B5A #5ACE5B
tetradic
#5B5ACE #CE5A93 #CDCE5A #5ACE95
square
#5B5ACE #CE5A93 #CDCE5A #5ACE95
split-complementary
#5B5ACE #CE955A #93CE5A
monochromatic
#292886 #3736B5 #5B5ACE #8A89DC #B9B8EA

Accessibility & contrast

On white

5.53
#5B5ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5B5ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5ACE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5ACE#FFFFFF#000000##FFFFFF
##5B5ACE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#1E758B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b5ace;
/* rgb */ color: rgb(91, 90, 206);
/* oklch */ color: oklch(53.3% 0.175 279.0);
Tailwind
colors: {
  custom: {
    50: '#9388de',
    500: '#5b5ace',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ace;
$custom-light: #9388de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ace",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 240.517,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.17473,
    "h": 279
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#5B5ACE
secondary
#D9D9AB
accent
#DE4ADC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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