#5D5DF3#5D5DF3

#5D5DF3 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.219 H 276.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5D5DF3
RGBrgb(93, 93, 243)
HSLhsl(240, 86%, 66%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.7%, 61.7%, 0%, 4.7%)
CIE-LABlab(47.78, 43.71, -75.39)
CIE-LCHlch(47.78, 87.15, 300.11°)
OKLaboklab(56.78% 0.0261 -0.2171)
OKLCHoklch(56.78% 0.219 276.9)
XYZxyz(24.6010, 16.6250, 86.6892)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DF3 #F3F35D
analogous
#5DA8F3 #5D5DF3 #A85DF3
triadic
#5D5DF3 #F35D5D #5DF35D
tetradic
#5D5DF3 #F35DA8 #F3F35D #5DF3A8
square
#5D5DF3 #F35DA8 #F3F35D #5DF3A8
split-complementary
#5D5DF3 #F3A85D #A8F35D
monochromatic
#0F0FC7 #2424EF #5D5DF3 #9696F7 #CFCFFB

Accessibility & contrast

On white

4.86
#5D5DF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5D5DF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DF3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DF3#FFFFFF#000000##FFFFFF
##5D5DF31.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5df3;
/* rgb */ color: rgb(93, 93, 243);
/* oklch */ color: oklch(56.8% 0.219 276.9);
Tailwind
colors: {
  custom: {
    50: '#9a8bf8',
    500: '#5d5df3',
    950: '#000000',
  },
}
SCSS
$custom: #5d5df3;
$custom-light: #9a8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5df3",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 240,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.2187,
    "h": 276.9
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#5D5DF3
secondary
#EFEFBD
accent
#E303E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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