#5B58AE#5B58AE

#5B58AE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.133 H 282.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5B58AE
RGBrgb(91, 88, 174)
HSLhsl(242, 35%, 51%)
HSVhsv(242, 49%, 68%)
CMYKcmyk(47.7%, 49.4%, 0%, 31.8%)
CIE-LABlab(41.62, 24.45, -45.76)
CIE-LCHlch(41.62, 51.88, 298.11°)
OKLaboklab(50.64% 0.0279 -0.1301)
OKLCHoklch(50.64% 0.133 282.1)
XYZxyz(15.4418, 12.2588, 41.5887)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58AE #ABAE58
analogous
#5880AE #5B58AE #8658AE
triadic
#5B58AE #AE5B58 #58AE5B
tetradic
#5B58AE #AE5880 #ABAE58 #58AE86
square
#5B58AE #AE5880 #ABAE58 #58AE86
split-complementary
#5B58AE #AE8658 #80AE58
monochromatic
#2F2E5E #444287 #5B58AE #8381C2 #ACAAD6

Accessibility & contrast

On white

6.08
#5B58AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5B58AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58AE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58AE#FFFFFF#000000##FFFFFF
##5B58AE1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B1
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#3E6A7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b58ae;
/* rgb */ color: rgb(91, 88, 174);
/* oklch */ color: oklch(50.6% 0.133 282.1);
Tailwind
colors: {
  custom: {
    50: '#8f87c7',
    500: '#5b58ae',
    950: '#000000',
  },
}
SCSS
$custom: #5b58ae;
$custom-light: #8f87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58ae",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 242.093,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50643,
    "c": 0.13305,
    "h": 282.1
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#5B58AE
secondary
#C3C49E
accent
#CB5DC7
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5B58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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