#5D5FED#5D5FED

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

Color values

HEX#5D5FED
RGBrgb(93, 95, 237)
HSLhsl(239, 80%, 65%)
HSVhsv(239, 61%, 93%)
CMYKcmyk(60.8%, 59.9%, 0%, 7.1%)
CIE-LABlab(47.78, 40.61, -72.03)
CIE-LCHlch(47.78, 82.69, 299.41°)
OKLaboklab(56.63% 0.0248 -0.2072)
OKLCHoklch(56.63% 0.209 276.8)
XYZxyz(23.8875, 16.6241, 82.0543)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FED #EDEB5D
analogous
#5DA7ED #5D5FED #A35DED
triadic
#5D5FED #ED5D5F #5FED5D
tetradic
#5D5FED #ED5DA7 #EDEB5D #5DEDA3
square
#5D5FED #ED5DA7 #EDEB5D #5DEDA3
split-complementary
#5D5FED #EDA35D #A7ED5D
monochromatic
#1517BB #2629E7 #5D5FED #9495F3 #CBCCF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5FED#FFFFFF#000000##FFFFFF
##5D5FED1.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)
#0078F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5fed;
/* rgb */ color: rgb(93, 95, 237);
/* oklch */ color: oklch(56.6% 0.209 276.8);
Tailwind
colors: {
  custom: {
    50: '#998cf4',
    500: '#5d5fed',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fed;
$custom-light: #998cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fed",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 239.167,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.20871,
    "h": 276.8
  },
  "luminance": 0.16626
}

Semantic roles & 50–950 ramp

primary
#5D5FED
secondary
#ECEBBA
accent
#D909DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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