#5D58F7#5D58F7

#5D58F7 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.3% C 0.229 H 277.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5D58F7
RGBrgb(93, 88, 247)
HSLhsl(242, 91%, 66%)
HSVhsv(242, 64%, 97%)
CMYKcmyk(62.3%, 64.4%, 0%, 3.1%)
CIE-LABlab(47.00, 47.89, -78.91)
CIE-LCHlch(47.00, 92.31, 301.25°)
OKLaboklab(56.3% 0.0298 -0.2275)
OKLCHoklch(56.3% 0.229 277.5)
XYZxyz(24.7870, 16.0200, 89.7636)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58F7 #F2F758
analogous
#58A2F7 #5D58F7 #AC58F7
triadic
#5D58F7 #F75D58 #58F75D
tetradic
#5D58F7 #F758A2 #F2F758 #58F7AC
square
#5D58F7 #F758A2 #F2F758 #58F7AC
split-complementary
#5D58F7 #F7AC58 #A2F758
monochromatic
#100ACB #241EF4 #5D58F7 #9692FA #CECDFD

Accessibility & contrast

On white

4.99
#5D58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5D58F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58F7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58F7#FFFFFF#000000##FFFFFF
##5D58F71.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FC
Deuteranopia (green-blind)
#0069F4
Tritanopia (blue-blind)
#0081A0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d58f7;
/* rgb */ color: rgb(93, 88, 247);
/* oklch */ color: oklch(56.3% 0.229 277.5);
Tailwind
colors: {
  custom: {
    50: '#9b88fb',
    500: '#5d58f7',
    950: '#000000',
  },
}
SCSS
$custom: #5d58f7;
$custom-light: #9b88fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58f7",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 241.887,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.22941,
    "h": 277.5
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#5D58F7
secondary
#EEF0BB
accent
#E600DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5D58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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