#5B58AD#5B58AD

#5B58AD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.132 H 282.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5B58AD
RGBrgb(91, 88, 173)
HSLhsl(242, 34%, 51%)
HSVhsv(242, 49%, 68%)
CMYKcmyk(47.4%, 49.1%, 0%, 32.2%)
CIE-LABlab(41.56, 24.14, -45.27)
CIE-LCHlch(41.56, 51.30, 298.07°)
OKLaboklab(50.58% 0.0278 -0.1286)
OKLCHoklch(50.58% 0.132 282.2)
XYZxyz(15.3447, 12.2200, 41.0772)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58AD #AAAD58
analogous
#587FAD #5B58AD #8558AD
triadic
#5B58AD #AD5B58 #58AD5B
tetradic
#5B58AD #AD587F #AAAD58 #58AD85
square
#5B58AD #AD587F #AAAD58 #58AD85
split-complementary
#5B58AD #AD8558 #7FAD58
monochromatic
#2F2E5D #444286 #5B58AD #8381C1 #ACAAD5

Accessibility & contrast

On white

6.10
#5B58AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5B58AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58AD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58AD#FFFFFF#000000##FFFFFF
##5B58AD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365B0
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#3F6A7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b58ad;
/* rgb */ color: rgb(91, 88, 173);
/* oklch */ color: oklch(50.6% 0.132 282.2);
Tailwind
colors: {
  custom: {
    50: '#8e87c6',
    500: '#5b58ad',
    950: '#000000',
  },
}
SCSS
$custom: #5b58ad;
$custom-light: #8e87c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58ad",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 173
  },
  "hsl": {
    "h": 242.118,
    "s": 34.137,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.13162,
    "h": 282.2
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#5B58AD
secondary
#C2C39E
accent
#CA5EC6
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5B58AD

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

Preview Lab → · Contrast checker → · Palette generator →

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