#5B58CC#5B58CC

#5B58CC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.175 H 279.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5B58CC
RGBrgb(91, 88, 204)
HSLhsl(242, 53%, 57%)
HSVhsv(242, 57%, 80%)
CMYKcmyk(55.4%, 56.9%, 0%, 20%)
CIE-LABlab(43.60, 33.92, -60.06)
CIE-LCHlch(43.60, 68.98, 299.45°)
OKLaboklab(52.75% 0.0295 -0.1721)
OKLCHoklch(52.75% 0.175 279.7)
XYZxyz(18.6998, 13.5620, 58.7474)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58CC #C9CC58
analogous
#588FCC #5B58CC #9558CC
triadic
#5B58CC #CC5B58 #58CC5B
tetradic
#5B58CC #CC588F #C9CC58 #58CC95
square
#5B58CC #CC588F #C9CC58 #58CC95
split-complementary
#5B58CC #CC9558 #8FCC58
monochromatic
#2A2882 #3936B1 #5B58CC #8987DA #B7B6E9

Accessibility & contrast

On white

5.66
#5B58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5B58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58CC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58CC#FFFFFF#000000##FFFFFF
##5B58CC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#227389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b58cc;
/* rgb */ color: rgb(91, 88, 204);
/* oklch */ color: oklch(52.7% 0.175 279.7);
Tailwind
colors: {
  custom: {
    50: '#9387dc',
    500: '#5b58cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b58cc;
$custom-light: #9387dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58cc",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 241.552,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.17466,
    "h": 279.7
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#5B58CC
secondary
#D6D7A8
accent
#DD4BD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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