#5D58FF#5D58FF

#5D58FF is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 57.0% C 0.239 H 277.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5D58FF
RGBrgb(93, 88, 255)
HSLhsl(242, 100%, 67%)
HSVhsv(242, 65%, 100%)
CMYKcmyk(63.5%, 65.5%, 0%, 0%)
CIE-LABlab(47.66, 50.40, -82.30)
CIE-LCHlch(47.66, 96.50, 301.48°)
OKLaboklab(56.98% 0.029 -0.2374)
OKLCHoklch(56.98% 0.239 277)
XYZxyz(26.0481, 16.5244, 96.4052)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58FF #FAFF58
analogous
#58A7FF #5D58FF #B058FF
triadic
#5D58FF #FF5D58 #58FF5D
tetradic
#5D58FF #FF58A7 #FAFF58 #58FFB0
square
#5D58FF #FF58A7 #FAFF58 #58FFB0
split-complementary
#5D58FF #FFB058 #A7FF58
monochromatic
#0700DD #221BFF #5D58FF #9895FF #D4D2FF

Accessibility & contrast

On white

4.88
#5D58FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5D58FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58FF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58FF#FFFFFF#000000##FFFFFF
##5D58FF1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#0084A4
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d58ff;
/* rgb */ color: rgb(93, 88, 255);
/* oklch */ color: oklch(57.0% 0.239 277.0);
Tailwind
colors: {
  custom: {
    50: '#9c88ff',
    500: '#5d58ff',
    950: '#000000',
  },
}
SCSS
$custom: #5d58ff;
$custom-light: #9c88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58ff",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 241.796,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.23916,
    "h": 277
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#5D58FF
secondary
#F2F4BF
accent
#E600DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5D58FF

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

Preview Lab → · Contrast checker → · Palette generator →

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