#5D5CF4#5D5CF4

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

Color values

HEX#5D5CF4
RGBrgb(93, 92, 244)
HSLhsl(240, 87%, 66%)
HSVhsv(240, 62%, 96%)
CMYKcmyk(61.9%, 62.3%, 0%, 4.3%)
CIE-LABlab(47.64, 44.62, -76.19)
CIE-LCHlch(47.64, 88.30, 300.35°)
OKLaboklab(56.69% 0.0269 -0.2195)
OKLCHoklch(56.69% 0.221 277)
XYZxyz(24.6652, 16.5111, 87.4576)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CF4 #F3F45C
analogous
#5CA7F4 #5D5CF4 #A95CF4
triadic
#5D5CF4 #F45D5C #5CF45D
tetradic
#5D5CF4 #F45CA7 #F3F45C #5CF4A9
square
#5D5CF4 #F45CA7 #F3F45C #5CF4A9
split-complementary
#5D5CF4 #F4A95C #A7F45C
monochromatic
#0F0EC8 #2423F0 #5D5CF4 #9695F8 #CFCFFC

Accessibility & contrast

On white

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

On black

4.30
#5D5CF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D5CF4#FFFFFF#000000##FFFFFF
##5D5CF41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5cf4;
/* rgb */ color: rgb(93, 92, 244);
/* oklch */ color: oklch(56.7% 0.221 277.0);
Tailwind
colors: {
  custom: {
    50: '#9a8af9',
    500: '#5d5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cf4;
$custom-light: #9a8af9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cf4",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 240.395,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56693,
    "c": 0.22111,
    "h": 277
  },
  "luminance": 0.16513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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