#5D5EE3#5D5EE3

#5D5EE3 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.7% C 0.197 H 277.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5D5EE3
RGBrgb(93, 94, 227)
HSLhsl(240, 71%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(59%, 58.6%, 0%, 11%)
CIE-LABlab(46.81, 38.00, -67.97)
CIE-LCHlch(46.81, 77.87, 299.21°)
OKLaboklab(55.68% 0.0259 -0.1953)
OKLCHoklch(55.68% 0.197 277.6)
XYZxyz(22.3776, 15.8770, 74.5435)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EE3 #E3E25D
analogous
#5DA1E3 #5D5EE3 #9F5DE3
triadic
#5D5EE3 #E35D5E #5EE35D
tetradic
#5D5EE3 #E35DA1 #E3E25D #5DE39F
square
#5D5EE3 #E35DA1 #E3E25D #5DE39F
split-complementary
#5D5EE3 #E39F5D #A1E35D
monochromatic
#1D1EA8 #292ADA #5D5EE3 #9192EC #C5C6F5

Accessibility & contrast

On white

5.03
#5D5EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5D5EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EE3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EE3#FFFFFF#000000##FFFFFF
##5D5EE31.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5ee3;
/* rgb */ color: rgb(93, 94, 227);
/* oklch */ color: oklch(55.7% 0.197 277.6);
Tailwind
colors: {
  custom: {
    50: '#978ced',
    500: '#5d5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ee3;
$custom-light: #978ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ee3",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 239.552,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.19702,
    "h": 277.6
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#5D5EE3
secondary
#E6E6B6
accent
#D113D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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