#5D5DEA#5D5DEA

#5D5DEA is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.207 H 277.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5D5DEA
RGBrgb(93, 93, 234)
HSLhsl(240, 77%, 64%)
HSVhsv(240, 60%, 92%)
CMYKcmyk(60.3%, 60.3%, 0%, 8.2%)
CIE-LABlab(47.10, 40.84, -71.46)
CIE-LCHlch(47.10, 82.31, 299.75°)
OKLaboklab(56.06% 0.0266 -0.2056)
OKLCHoklch(56.06% 0.207 277.4)
XYZxyz(23.2750, 16.0946, 79.7060)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DEA #EAEA5D
analogous
#5DA4EA #5D5DEA #A45DEA
triadic
#5D5DEA #EA5D5D #5DEA5D
tetradic
#5D5DEA #EA5DA4 #EAEA5D #5DEAA4
square
#5D5DEA #EA5DA4 #EAEA5D #5DEAA4
split-complementary
#5D5DEA #EAA45D #A4EA5D
monochromatic
#1717B5 #2727E3 #5D5DEA #9393F1 #C9C9F8

Accessibility & contrast

On white

4.98
#5D5DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5D5DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DEA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DEA#FFFFFF#000000##FFFFFF
##5D5DEA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5dea;
/* rgb */ color: rgb(93, 93, 234);
/* oklch */ color: oklch(56.1% 0.207 277.4);
Tailwind
colors: {
  custom: {
    50: '#988bf2',
    500: '#5d5dea',
    950: '#000000',
  },
}
SCSS
$custom: #5d5dea;
$custom-light: #988bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5dea",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.20728,
    "h": 277.4
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#5D5DEA
secondary
#EAEAB9
accent
#D90CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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