#5D5FF1#5D5FF1

#5D5FF1 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.9% C 0.214 H 276.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5D5FF1
RGBrgb(93, 95, 241)
HSLhsl(239, 84%, 65%)
HSVhsv(239, 61%, 95%)
CMYKcmyk(61.4%, 60.6%, 0%, 5.5%)
CIE-LABlab(48.08, 41.89, -73.79)
CIE-LCHlch(48.08, 84.85, 299.59°)
OKLaboklab(56.95% 0.0246 -0.2124)
OKLCHoklch(56.95% 0.214 276.6)
XYZxyz(24.4784, 16.8605, 85.1665)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FF1 #F1EF5D
analogous
#5DA9F1 #5D5FF1 #A55DF1
triadic
#5D5FF1 #F15D5F #5FF15D
tetradic
#5D5FF1 #F15DA9 #F1EF5D #5DF1A5
square
#5D5FF1 #F15DA9 #F1EF5D #5DF1A5
split-complementary
#5D5FF1 #F1A55D #A9F15D
monochromatic
#1113C3 #2527EC #5D5FF1 #9597F6 #CECEFB

Accessibility & contrast

On white

4.80
#5D5FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5D5FF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FF1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FF1#FFFFFF#000000##FFFFFF
##5D5FF11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#006CEE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d5ff1;
/* rgb */ color: rgb(93, 95, 241);
/* oklch */ color: oklch(56.9% 0.214 276.6);
Tailwind
colors: {
  custom: {
    50: '#998cf7',
    500: '#5d5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ff1;
$custom-light: #998cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ff1",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 239.189,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.21381,
    "h": 276.6
  },
  "luminance": 0.16862
}

Semantic roles & 50–950 ramp

primary
#5D5FF1
secondary
#EEEDBC
accent
#DE05E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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