#5B58DB#5B58DB

#5B58DB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.194 H 278.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5B58DB
RGBrgb(91, 88, 219)
HSLhsl(241, 65%, 60%)
HSVhsv(241, 60%, 86%)
CMYKcmyk(58.4%, 59.8%, 0%, 14.1%)
CIE-LABlab(44.68, 38.71, -66.90)
CIE-LCHlch(44.68, 77.29, 300.05°)
OKLaboklab(53.89% 0.0293 -0.1922)
OKLCHoklch(53.89% 0.194 278.7)
XYZxyz(20.5862, 14.3166, 68.6827)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58DB #D8DB58
analogous
#5896DB #5B58DB #9C58DB
triadic
#5B58DB #DB5B58 #58DB5B
tetradic
#5B58DB #DB5896 #D8DB58 #58DB9C
square
#5B58DB #DB5896 #D8DB58 #58DB9C
split-complementary
#5B58DB #DB9C58 #96DB58
monochromatic
#232198 #2F2CCA #5B58DB #8C8AE6 #BEBDF1

Accessibility & contrast

On white

5.44
#5B58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5B58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58DB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58DB#FFFFFF#000000##FFFFFF
##5B58DB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b58db;
/* rgb */ color: rgb(91, 88, 219);
/* oklch */ color: oklch(53.9% 0.194 278.7);
Tailwind
colors: {
  custom: {
    50: '#9587e7',
    500: '#5b58db',
    950: '#000000',
  },
}
SCSS
$custom: #5b58db;
$custom-light: #9587e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58db",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 241.374,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53893,
    "c": 0.19447,
    "h": 278.7
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#5B58DB
secondary
#DFE1AE
accent
#CC19C8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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