#5D58F9#5D58F9

#5D58F9 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.5% C 0.232 H 277.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5D58F9
RGBrgb(93, 88, 249)
HSLhsl(242, 93%, 66%)
HSVhsv(242, 65%, 98%)
CMYKcmyk(62.7%, 64.7%, 0%, 2.4%)
CIE-LABlab(47.16, 48.52, -79.76)
CIE-LCHlch(47.16, 93.36, 301.31°)
OKLaboklab(56.47% 0.0296 -0.23)
OKLCHoklch(56.47% 0.232 277.3)
XYZxyz(25.0973, 16.1441, 91.3977)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58F9 #F4F958
analogous
#58A3F9 #5D58F9 #AD58F9
triadic
#5D58F9 #F95D58 #58F95D
tetradic
#5D58F9 #F958A3 #F4F958 #58F9AD
square
#5D58F9 #F958A3 #F4F958 #58F9AD
split-complementary
#5D58F9 #F9AD58 #A3F958
monochromatic
#0E07CF #241DF7 #5D58F9 #9693FB #D0CEFD

Accessibility & contrast

On white

4.97
#5D58F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5D58F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58F9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58F9#FFFFFF#000000##FFFFFF
##5D58F91.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FE
Deuteranopia (green-blind)
#0069F6
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d58f9;
/* rgb */ color: rgb(93, 88, 249);
/* oklch */ color: oklch(56.5% 0.232 277.3);
Tailwind
colors: {
  custom: {
    50: '#9b88fc',
    500: '#5d58f9',
    950: '#000000',
  },
}
SCSS
$custom: #5d58f9;
$custom-light: #9b88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58f9",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 241.863,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5647,
    "c": 0.23186,
    "h": 277.3
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D58F9

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

Preview Lab → · Contrast checker → · Palette generator →

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