#5C5EE6#5C5EE6

#5C5EE6 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 55.8% C 0.201 H 277.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5C5EE6
RGBrgb(92, 94, 230)
HSLhsl(239, 73%, 63%)
HSVhsv(239, 60%, 90%)
CMYKcmyk(60%, 59.1%, 0%, 9.8%)
CIE-LABlab(46.96, 38.80, -69.42)
CIE-LCHlch(46.96, 79.53, 299.20°)
OKLaboklab(55.85% 0.0247 -0.1996)
OKLCHoklch(55.85% 0.201 277)
XYZxyz(22.6947, 15.9922, 76.7384)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EE6 #E6E45C
analogous
#5CA3E6 #5C5EE6 #9F5CE6
triadic
#5C5EE6 #E65C5E #5EE65C
tetradic
#5C5EE6 #E65CA3 #E6E45C #5CE69F
square
#5C5EE6 #E65CA3 #E6E45C #5CE69F
split-complementary
#5C5EE6 #E69F5C #A3E65C
monochromatic
#1B1DAD #272ADE #5C5EE6 #9192EE #C6C7F6

Accessibility & contrast

On white

5.00
#5C5EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5C5EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5EE6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EE6#FFFFFF#000000##FFFFFF
##5C5EE61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c5ee6;
/* rgb */ color: rgb(92, 94, 230);
/* oklch */ color: oklch(55.8% 0.201 277.0);
Tailwind
colors: {
  custom: {
    50: '#978cef',
    500: '#5c5ee6',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ee6;
$custom-light: #978cef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ee6",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 239.13,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.20113,
    "h": 277
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#5C5EE6
secondary
#E8E7B6
accent
#D310D6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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