#5D5DF5#5D5DF5

#5D5DF5 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.221 H 276.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5D5DF5
RGBrgb(93, 93, 245)
HSLhsl(240, 88%, 66%)
HSVhsv(240, 62%, 96%)
CMYKcmyk(62%, 62%, 0%, 3.9%)
CIE-LABlab(47.94, 44.35, -76.26)
CIE-LCHlch(47.94, 88.22, 300.18°)
OKLaboklab(56.94% 0.026 -0.2197)
OKLCHoklch(56.94% 0.221 276.8)
XYZxyz(24.9046, 16.7464, 88.2885)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DF5 #F5F55D
analogous
#5DA9F5 #5D5DF5 #A95DF5
triadic
#5D5DF5 #F55D5D #5DF55D
tetradic
#5D5DF5 #F55DA9 #F5F55D #5DF5A9
square
#5D5DF5 #F55DA9 #F5F55D #5DF5A9
split-complementary
#5D5DF5 #F5A95D #A9F55D
monochromatic
#0D0DCB #2323F1 #5D5DF5 #9797F9 #D0D0FC

Accessibility & contrast

On white

4.83
#5D5DF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5D5DF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DF5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DF5#FFFFFF#000000##FFFFFF
##5D5DF51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d5df5;
/* rgb */ color: rgb(93, 93, 245);
/* oklch */ color: oklch(56.9% 0.221 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a8bfa',
    500: '#5d5df5',
    950: '#000000',
  },
}
SCSS
$custom: #5d5df5;
$custom-light: #9a8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5df5",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.22121,
    "h": 276.8
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#5D5DF5
secondary
#F0F0BE
accent
#E501E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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