#5D5FF4#5D5FF4

#5D5FF4 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.218 H 276.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5D5FF4
RGBrgb(93, 95, 244)
HSLhsl(239, 87%, 66%)
HSVhsv(239, 62%, 96%)
CMYKcmyk(61.9%, 61.1%, 0%, 4.3%)
CIE-LABlab(48.31, 42.85, -75.09)
CIE-LCHlch(48.31, 86.46, 299.71°)
OKLaboklab(57.19% 0.0245 -0.2162)
OKLCHoklch(57.19% 0.218 276.5)
XYZxyz(24.9302, 17.0412, 87.5459)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FF4 #F4F25D
analogous
#5DAAF4 #5D5FF4 #A65DF4
triadic
#5D5FF4 #F45D5F #5FF45D
tetradic
#5D5FF4 #F45DAA #F4F25D #5DF4A6
square
#5D5FF4 #F45DAA #F4F25D #5DF4A6
split-complementary
#5D5FF4 #F4A65D #AAF45D
monochromatic
#0E10C9 #2426F0 #5D5FF4 #9698F8 #D0D0FC

Accessibility & contrast

On white

4.76
#5D5FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5D5FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FF4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FF4#FFFFFF#000000##FFFFFF
##5D5FF41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d5ff4;
/* rgb */ color: rgb(93, 95, 244);
/* oklch */ color: oklch(57.2% 0.218 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a8df9',
    500: '#5d5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ff4;
$custom-light: #9a8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ff4",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 239.205,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.21761,
    "h": 276.5
  },
  "luminance": 0.17043
}

Semantic roles & 50–950 ramp

primary
#5D5FF4
secondary
#EFEFBE
accent
#E102E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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