#5D5FF3#5D5FF3

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

Color values

HEX#5D5FF3
RGBrgb(93, 95, 243)
HSLhsl(239, 86%, 66%)
HSVhsv(239, 62%, 95%)
CMYKcmyk(61.7%, 60.9%, 0%, 4.7%)
CIE-LABlab(48.24, 42.53, -74.66)
CIE-LCHlch(48.24, 85.92, 299.67°)
OKLaboklab(57.11% 0.0245 -0.2149)
OKLCHoklch(57.11% 0.216 276.5)
XYZxyz(24.7788, 16.9806, 86.7485)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FF3 #F3F15D
analogous
#5DAAF3 #5D5FF3 #A65DF3
triadic
#5D5FF3 #F35D5F #5FF35D
tetradic
#5D5FF3 #F35DAA #F3F15D #5DF3A6
square
#5D5FF3 #F35DAA #F3F15D #5DF3A6
split-complementary
#5D5FF3 #F3A65D #AAF35D
monochromatic
#0F11C7 #2427EF #5D5FF3 #9697F7 #CFD0FB

Accessibility & contrast

On white

4.78
#5D5FF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5D5FF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FF3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FF3#FFFFFF#000000##FFFFFF
##5D5FF31.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#006CF0
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d5ff3;
/* rgb */ color: rgb(93, 95, 243);
/* oklch */ color: oklch(57.1% 0.216 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a8df8',
    500: '#5d5ff3',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ff3;
$custom-light: #9a8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ff3",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 239.2,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.21634,
    "h": 276.5
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#5D5FF3
secondary
#EFEEBD
accent
#E003E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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