#5D5FEE#5D5FEE

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

Color values

HEX#5D5FEE
RGBrgb(93, 95, 238)
HSLhsl(239, 81%, 65%)
HSVhsv(239, 61%, 93%)
CMYKcmyk(60.9%, 60.1%, 0%, 6.7%)
CIE-LABlab(47.86, 40.93, -72.47)
CIE-LCHlch(47.86, 83.23, 299.46°)
OKLaboklab(56.71% 0.0247 -0.2085)
OKLCHoklch(56.71% 0.21 276.8)
XYZxyz(24.0340, 16.6827, 82.8259)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FEE #EEEC5D
analogous
#5DA8EE #5D5FEE #A35DEE
triadic
#5D5FEE #EE5D5F #5FEE5D
tetradic
#5D5FEE #EE5DA8 #EEEC5D #5DEEA3
square
#5D5FEE #EE5DA8 #EEEC5D #5DEEA3
split-complementary
#5D5FEE #EEA35D #A8EE5D
monochromatic
#1416BD #2628E8 #5D5FEE #9496F4 #CCCCFA

Accessibility & contrast

On white

4.84
#5D5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5D5FEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FEE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FEE#FFFFFF#000000##FFFFFF
##5D5FEE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d5fee;
/* rgb */ color: rgb(93, 95, 238);
/* oklch */ color: oklch(56.7% 0.210 276.8);
Tailwind
colors: {
  custom: {
    50: '#998cf5',
    500: '#5d5fee',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fee;
$custom-light: #998cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fee",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 239.172,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.20999,
    "h": 276.8
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#5D5FEE
secondary
#ECEBBB
accent
#DA08DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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