#5B58DF#5B58DF

#5B58DF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.2% C 0.200 H 278.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5B58DF
RGBrgb(91, 88, 223)
HSLhsl(241, 68%, 61%)
HSVhsv(241, 61%, 87%)
CMYKcmyk(59.2%, 60.5%, 0%, 12.5%)
CIE-LABlab(44.98, 39.98, -68.69)
CIE-LCHlch(44.98, 79.48, 300.20°)
OKLaboklab(54.21% 0.0291 -0.1975)
OKLCHoklch(54.21% 0.2 278.4)
XYZxyz(21.1191, 14.5298, 71.4894)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58DF #DCDF58
analogous
#5898DF #5B58DF #9E58DF
triadic
#5B58DF #DF5B58 #58DF5B
tetradic
#5B58DF #DF5898 #DCDF58 #58DF9E
square
#5B58DF #DF5898 #DCDF58 #58DF9E
split-complementary
#5B58DF #DF9E58 #98DF58
monochromatic
#211E9E #2C28D2 #5B58DF #8D8BE9 #C0BFF3

Accessibility & contrast

On white

5.38
#5B58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5B58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58DF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58DF#FFFFFF#000000##FFFFFF
##5B58DF1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b58df;
/* rgb */ color: rgb(91, 88, 223);
/* oklch */ color: oklch(54.2% 0.200 278.4);
Tailwind
colors: {
  custom: {
    50: '#9687ea',
    500: '#5b58df',
    950: '#000000',
  },
}
SCSS
$custom: #5b58df;
$custom-light: #9687ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58df",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 241.333,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.19963,
    "h": 278.4
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#5B58DF
secondary
#E2E3B0
accent
#D016CC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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