#5E5DCD#5E5DCD

#5E5DCD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.169 H 279.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5E5DCD
RGBrgb(94, 93, 205)
HSLhsl(241, 53%, 58%)
HSVhsv(241, 55%, 80%)
CMYKcmyk(54.1%, 54.6%, 0%, 19.6%)
CIE-LABlab(45.10, 31.76, -58.20)
CIE-LCHlch(45.10, 66.30, 298.62°)
OKLaboklab(53.95% 0.0279 -0.1665)
OKLCHoklch(53.95% 0.169 279.5)
XYZxyz(19.5464, 14.6149, 59.5367)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DCD #CCCD5D
analogous
#5D94CD #5E5DCD #965DCD
triadic
#5E5DCD #CD5E5D #5DCD5E
tetradic
#5E5DCD #CD5D94 #CCCD5D #5DCD96
square
#5E5DCD #CD5D94 #CCCD5D #5DCD96
split-complementary
#5E5DCD #CD965D #94CD5D
monochromatic
#2A2986 #3938B5 #5E5DCD #8C8CDB #BBBBEA

Accessibility & contrast

On white

5.35
#5E5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5E5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DCD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DCD#FFFFFF#000000##FFFFFF
##5E5DCD1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#2A778C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e5dcd;
/* rgb */ color: rgb(94, 93, 205);
/* oklch */ color: oklch(53.9% 0.169 279.5);
Tailwind
colors: {
  custom: {
    50: '#948bdd',
    500: '#5e5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5e5dcd;
$custom-light: #948bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5dcd",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 240.536,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.16886,
    "h": 279.5
  },
  "luminance": 0.14616
}

Semantic roles & 50–950 ramp

primary
#5E5DCD
secondary
#D9D9AD
accent
#DC4CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5E5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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