#5D5EE2#5D5EE2

#5D5EE2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.196 H 277.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5D5EE2
RGBrgb(93, 94, 226)
HSLhsl(240, 70%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(58.8%, 58.4%, 0%, 11.4%)
CIE-LABlab(46.74, 37.68, -67.53)
CIE-LCHlch(46.74, 77.33, 299.16°)
OKLaboklab(55.61% 0.0259 -0.194)
OKLCHoklch(55.61% 0.196 277.6)
XYZxyz(22.2400, 15.8219, 73.8187)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EE2 #E2E15D
analogous
#5DA0E2 #5D5EE2 #9F5DE2
triadic
#5D5EE2 #E25D5E #5EE25D
tetradic
#5D5EE2 #E25DA0 #E2E15D #5DE29F
square
#5D5EE2 #E25DA0 #E2E15D #5DE29F
split-complementary
#5D5EE2 #E29F5D #A0E25D
monochromatic
#1E1FA7 #292AD9 #5D5EE2 #9192EB #C5C5F5

Accessibility & contrast

On white

5.04
#5D5EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5D5EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EE2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EE2#FFFFFF#000000##FFFFFF
##5D5EE21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5ee2;
/* rgb */ color: rgb(93, 94, 226);
/* oklch */ color: oklch(55.6% 0.196 277.6);
Tailwind
colors: {
  custom: {
    50: '#978cec',
    500: '#5d5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ee2;
$custom-light: #978cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ee2",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 239.549,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.19572,
    "h": 277.6
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#5D5EE2
secondary
#E6E5B5
accent
#D014D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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