#5D5EDD#5D5EDD

#5D5EDD is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.2% C 0.189 H 277.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5D5EDD
RGBrgb(93, 94, 221)
HSLhsl(240, 65%, 62%)
HSVhsv(240, 58%, 87%)
CMYKcmyk(57.9%, 57.5%, 0%, 13.3%)
CIE-LABlab(46.38, 36.07, -65.27)
CIE-LCHlch(46.38, 74.58, 298.93°)
OKLaboklab(55.23% 0.026 -0.1874)
OKLCHoklch(55.23% 0.189 277.9)
XYZxyz(21.5639, 15.5515, 70.2580)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EDD #DDDC5D
analogous
#5D9EDD #5D5EDD #9C5DDD
triadic
#5D5EDD #DD5D5E #5EDD5D
tetradic
#5D5EDD #DD5D9E #DDDC5D #5DDD9C
square
#5D5EDD #DD5D9E #DDDC5D #5DDD9C
split-complementary
#5D5EDD #DD9C5D #9EDD5D
monochromatic
#21229E #2C2DD1 #5D5EDD #9090E8 #C2C3F2

Accessibility & contrast

On white

5.11
#5D5EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5D5EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EDD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EDD#FFFFFF#000000##FFFFFF
##5D5EDD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5edd;
/* rgb */ color: rgb(93, 94, 221);
/* oklch */ color: oklch(55.2% 0.189 277.9);
Tailwind
colors: {
  custom: {
    50: '#968ce8',
    500: '#5d5edd',
    950: '#000000',
  },
}
SCSS
$custom: #5d5edd;
$custom-light: #968ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5edd",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 239.531,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.18916,
    "h": 277.9
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#5D5EDD
secondary
#E3E2B3
accent
#CC18CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D5EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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