#5B58CA#5B58CA

#5B58CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.172 H 279.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5B58CA
RGBrgb(91, 88, 202)
HSLhsl(242, 52%, 57%)
HSVhsv(242, 56%, 79%)
CMYKcmyk(55%, 56.4%, 0%, 20.8%)
CIE-LABlab(43.46, 33.28, -59.14)
CIE-LCHlch(43.46, 67.86, 299.37°)
OKLaboklab(52.6% 0.0295 -0.1694)
OKLCHoklch(52.6% 0.172 279.9)
XYZxyz(18.4614, 13.4667, 57.4922)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58CA #C7CA58
analogous
#588ECA #5B58CA #9458CA
triadic
#5B58CA #CA5B58 #58CA5B
tetradic
#5B58CA #CA588E #C7CA58 #58CA94
square
#5B58CA #CA588E #C7CA58 #58CA94
split-complementary
#5B58CA #CA9458 #8ECA58
monochromatic
#2B287F #3A37AE #5B58CA #8986D9 #B6B5E7

Accessibility & contrast

On white

5.69
#5B58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5B58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58CA#FFFFFF#000000##FFFFFF
##5B58CA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#257288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b58ca;
/* rgb */ color: rgb(91, 88, 202);
/* oklch */ color: oklch(52.6% 0.172 279.9);
Tailwind
colors: {
  custom: {
    50: '#9287db',
    500: '#5b58ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b58ca;
$custom-light: #9287db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58ca",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 241.579,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.17197,
    "h": 279.9
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#5B58CA
secondary
#D5D6A8
accent
#DB4DD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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