#5E5CCC#5E5CCC

#5E5CCC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.169 H 279.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5E5CCC
RGBrgb(94, 92, 204)
HSLhsl(241, 52%, 58%)
HSVhsv(241, 55%, 80%)
CMYKcmyk(53.9%, 54.9%, 0%, 20%)
CIE-LABlab(44.79, 32.05, -58.13)
CIE-LCHlch(44.79, 66.38, 298.87°)
OKLaboklab(53.69% 0.0289 -0.1663)
OKLCHoklch(53.69% 0.169 279.9)
XYZxyz(19.3389, 14.3924, 58.8740)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CCC #CACC5C
analogous
#5C92CC #5E5CCC #965CCC
triadic
#5E5CCC #CC5E5C #5CCC5E
tetradic
#5E5CCC #CC5C92 #CACC5C #5CCC96
square
#5E5CCC #CC5C92 #CACC5C #5CCC96
split-complementary
#5E5CCC #CC965C #92CC5C
monochromatic
#2B2984 #3A38B3 #5E5CCC #8C8BDB #BAB9E9

Accessibility & contrast

On white

5.41
#5E5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5E5CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CCC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CCC#FFFFFF#000000##FFFFFF
##5E5CCC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126ED0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#2B768B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e5ccc;
/* rgb */ color: rgb(94, 92, 204);
/* oklch */ color: oklch(53.7% 0.169 279.9);
Tailwind
colors: {
  custom: {
    50: '#948adc',
    500: '#5e5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ccc;
$custom-light: #948adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ccc",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 241.071,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.16883,
    "h": 279.9
  },
  "luminance": 0.14394
}

Semantic roles & 50–950 ramp

primary
#5E5CCC
secondary
#D7D8AC
accent
#DC4CD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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