#5D5EE5#5D5EE5

#5D5EE5 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.8% C 0.200 H 277.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5D5EE5
RGBrgb(93, 94, 229)
HSLhsl(240, 72%, 63%)
HSVhsv(240, 59%, 90%)
CMYKcmyk(59.4%, 59%, 0%, 10.2%)
CIE-LABlab(46.96, 38.64, -68.87)
CIE-LCHlch(46.96, 78.97, 299.30°)
OKLaboklab(55.84% 0.0259 -0.1979)
OKLCHoklch(55.84% 0.2 277.4)
XYZxyz(22.6552, 15.9880, 76.0057)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EE5 #E5E45D
analogous
#5DA2E5 #5D5EE5 #A05DE5
triadic
#5D5EE5 #E55D5E #5EE55D
tetradic
#5D5EE5 #E55DA2 #E5E45D #5DE5A0
square
#5D5EE5 #E55DA2 #E5E45D #5DE5A0
split-complementary
#5D5EE5 #E5A05D #A2E55D
monochromatic
#1C1DAC #282ADD #5D5EE5 #9292ED #C6C7F6

Accessibility & contrast

On white

5.00
#5D5EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5D5EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EE5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EE5#FFFFFF#000000##FFFFFF
##5D5EE51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5ee5;
/* rgb */ color: rgb(93, 94, 229);
/* oklch */ color: oklch(55.8% 0.200 277.4);
Tailwind
colors: {
  custom: {
    50: '#978cee',
    500: '#5d5ee5',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ee5;
$custom-light: #978cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ee5",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 239.559,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55839,
    "c": 0.19962,
    "h": 277.4
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#5D5EE5
secondary
#E7E7B7
accent
#D311D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5D5EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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