#5E5CDF#5E5CDF

#5E5CDF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.1% C 0.194 H 278.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5E5CDF
RGBrgb(94, 92, 223)
HSLhsl(241, 67%, 62%)
HSVhsv(241, 59%, 87%)
CMYKcmyk(57.8%, 58.7%, 0%, 12.5%)
CIE-LABlab(46.12, 38.09, -66.82)
CIE-LCHlch(46.12, 76.92, 299.69°)
OKLaboklab(55.1% 0.029 -0.1919)
OKLCHoklch(55.1% 0.194 278.6)
XYZxyz(21.7583, 15.3601, 71.6160)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CDF #DDDF5C
analogous
#5C9CDF #5E5CDF #A05CDF
triadic
#5E5CDF #DF5E5C #5CDF5E
tetradic
#5E5CDF #DF5C9C #DDDF5C #5CDFA0
square
#5E5CDF #DF5C9C #DDDF5C #5CDFA0
split-complementary
#5E5CDF #DFA05C #9CDF5C
monochromatic
#2220A1 #2C2AD4 #5E5CDF #918FE9 #C3C2F3

Accessibility & contrast

On white

5.16
#5E5CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5E5CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CDF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CDF#FFFFFF#000000##FFFFFF
##5E5CDF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#017B95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e5cdf;
/* rgb */ color: rgb(94, 92, 223);
/* oklch */ color: oklch(55.1% 0.194 278.6);
Tailwind
colors: {
  custom: {
    50: '#978aea',
    500: '#5e5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cdf;
$custom-light: #978aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cdf",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 240.916,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55102,
    "c": 0.1941,
    "h": 278.6
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#5E5CDF
secondary
#E3E4B3
accent
#CF16CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5E5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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