#5D5DEE#5D5DEE

#5D5DEE is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.212 H 277.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5D5DEE
RGBrgb(93, 93, 238)
HSLhsl(240, 81%, 65%)
HSVhsv(240, 61%, 93%)
CMYKcmyk(60.9%, 60.9%, 0%, 6.7%)
CIE-LABlab(47.40, 42.12, -73.22)
CIE-LCHlch(47.40, 84.47, 299.91°)
OKLaboklab(56.38% 0.0264 -0.2107)
OKLCHoklch(56.38% 0.212 277.1)
XYZxyz(23.8562, 16.3270, 82.7666)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DEE #EEEE5D
analogous
#5DA6EE #5D5DEE #A65DEE
triadic
#5D5DEE #EE5D5D #5DEE5D
tetradic
#5D5DEE #EE5DA6 #EEEE5D #5DEEA6
square
#5D5DEE #EE5DA6 #EEEE5D #5DEEA6
split-complementary
#5D5DEE #EEA65D #A6EE5D
monochromatic
#1414BD #2626E8 #5D5DEE #9494F4 #CCCCFA

Accessibility & contrast

On white

4.92
#5D5DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5D5DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DEE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DEE#FFFFFF#000000##FFFFFF
##5D5DEE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5dee;
/* rgb */ color: rgb(93, 93, 238);
/* oklch */ color: oklch(56.4% 0.212 277.1);
Tailwind
colors: {
  custom: {
    50: '#998bf5',
    500: '#5d5dee',
    950: '#000000',
  },
}
SCSS
$custom: #5d5dee;
$custom-light: #998bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5dee",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 240,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.21238,
    "h": 277.1
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#5D5DEE
secondary
#ECECBB
accent
#DD08DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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