#5E5CD2#5E5CD2

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

Color values

HEX#5E5CD2
RGBrgb(94, 92, 210)
HSLhsl(241, 57%, 59%)
HSVhsv(241, 56%, 82%)
CMYKcmyk(55.2%, 56.2%, 0%, 17.6%)
CIE-LABlab(45.20, 33.96, -60.91)
CIE-LCHlch(45.20, 69.73, 299.14°)
OKLaboklab(54.13% 0.0291 -0.1745)
OKLCHoklch(54.13% 0.177 279.5)
XYZxyz(20.0724, 14.6858, 62.7372)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CD2 #D0D25C
analogous
#5C95D2 #5E5CD2 #995CD2
triadic
#5E5CD2 #D25E5C #5CD25E
tetradic
#5E5CD2 #D25C95 #D0D25C #5CD299
square
#5E5CD2 #D25C95 #D0D25C #5CD299
split-complementary
#5E5CD2 #D2995C #95D25C
monochromatic
#29278D #3634BD #5E5CD2 #8D8CDF #BDBCEC

Accessibility & contrast

On white

5.33
#5E5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E5CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CD2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CD2#FFFFFF#000000##FFFFFF
##5E5CD21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#23778E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e5cd2;
/* rgb */ color: rgb(94, 92, 210);
/* oklch */ color: oklch(54.1% 0.177 279.5);
Tailwind
colors: {
  custom: {
    50: '#958ae1',
    500: '#5e5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cd2;
$custom-light: #958ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cd2",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 241.017,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.17692,
    "h": 279.5
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#5E5CD2
secondary
#DBDCAE
accent
#E048DD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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