#5E5DCE#5E5DCE

#5E5DCE is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.170 H 279.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5E5DCE
RGBrgb(94, 93, 206)
HSLhsl(241, 54%, 59%)
HSVhsv(241, 55%, 81%)
CMYKcmyk(54.4%, 54.9%, 0%, 19.2%)
CIE-LABlab(45.17, 32.08, -58.66)
CIE-LCHlch(45.17, 66.86, 298.67°)
OKLaboklab(54.02% 0.028 -0.1679)
OKLCHoklch(54.02% 0.17 279.5)
XYZxyz(19.6675, 14.6634, 60.1745)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DCE #CDCE5D
analogous
#5D94CE #5E5DCE #965DCE
triadic
#5E5DCE #CE5E5D #5DCE5E
tetradic
#5E5DCE #CE5D94 #CDCE5D #5DCE96
square
#5E5DCE #CE5D94 #CDCE5D #5DCE96
split-complementary
#5E5DCE #CE965D #94CE5D
monochromatic
#2A2988 #3837B7 #5E5DCE #8D8CDC #BBBBEA

Accessibility & contrast

On white

5.34
#5E5DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5E5DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DCE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DCE#FFFFFF#000000##FFFFFF
##5E5DCE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD2
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#29778C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e5dce;
/* rgb */ color: rgb(94, 93, 206);
/* oklch */ color: oklch(54.0% 0.170 279.5);
Tailwind
colors: {
  custom: {
    50: '#948bde',
    500: '#5e5dce',
    950: '#000000',
  },
}
SCSS
$custom: #5e5dce;
$custom-light: #948bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5dce",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 240.531,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.17022,
    "h": 279.5
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#5E5DCE
secondary
#D9DAAD
accent
#DD4BDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5E5DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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