#5E5DCC#5E5DCC

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

Color values

HEX#5E5DCC
RGBrgb(94, 93, 204)
HSLhsl(241, 52%, 58%)
HSVhsv(241, 54%, 80%)
CMYKcmyk(53.9%, 54.4%, 0%, 20%)
CIE-LABlab(45.04, 31.44, -57.73)
CIE-LCHlch(45.04, 65.74, 298.57°)
OKLaboklab(53.87% 0.0279 -0.1652)
OKLCHoklch(53.87% 0.168 279.6)
XYZxyz(19.4261, 14.5668, 58.9031)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DCC #CBCC5D
analogous
#5D93CC #5E5DCC #965DCC
triadic
#5E5DCC #CC5E5D #5DCC5E
tetradic
#5E5DCC #CC5D93 #CBCC5D #5DCC96
square
#5E5DCC #CC5D93 #CBCC5D #5DCC96
split-complementary
#5E5DCC #CC965D #93CC5D
monochromatic
#2B2A85 #3A38B3 #5E5DCC #8C8CDB #BBBAE9

Accessibility & contrast

On white

5.37
#5E5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5E5DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DCC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DCC#FFFFFF#000000##FFFFFF
##5E5DCC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#2B768B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e5dcc;
/* rgb */ color: rgb(94, 93, 204);
/* oklch */ color: oklch(53.9% 0.168 279.6);
Tailwind
colors: {
  custom: {
    50: '#948bdc',
    500: '#5e5dcc',
    950: '#000000',
  },
}
SCSS
$custom: #5e5dcc;
$custom-light: #948bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5dcc",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 240.541,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.1675,
    "h": 279.6
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#5E5DCC
secondary
#D8D9AC
accent
#DC4CDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5E5DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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