#5C5EEE#5C5EEE

#5C5EEE is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.5% C 0.211 H 276.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5C5EEE
RGBrgb(92, 94, 238)
HSLhsl(239, 81%, 65%)
HSVhsv(239, 61%, 93%)
CMYKcmyk(61.3%, 60.5%, 0%, 6.7%)
CIE-LABlab(47.56, 41.37, -72.96)
CIE-LCHlch(47.56, 83.87, 299.56°)
OKLaboklab(56.48% 0.0244 -0.21)
OKLCHoklch(56.48% 0.211 276.6)
XYZxyz(23.8439, 16.4519, 82.7914)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EEE #EEEC5C
analogous
#5CA7EE #5C5EEE #A35CEE
triadic
#5C5EEE #EE5C5E #5EEE5C
tetradic
#5C5EEE #EE5CA7 #EEEC5C #5CEEA3
square
#5C5EEE #EE5CA7 #EEEC5C #5CEEA3
split-complementary
#5C5EEE #EEA35C #A7EE5C
monochromatic
#1416BC #2527E8 #5C5EEE #9395F4 #CBCBFA

Accessibility & contrast

On white

4.89
#5C5EEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5C5EEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5EEE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EEE#FFFFFF#000000##FFFFFF
##5C5EEE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5eee;
/* rgb */ color: rgb(92, 94, 238);
/* oklch */ color: oklch(56.5% 0.211 276.6);
Tailwind
colors: {
  custom: {
    50: '#988cf5',
    500: '#5c5eee',
    950: '#000000',
  },
}
SCSS
$custom: #5c5eee;
$custom-light: #988cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5eee",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 239.178,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.21141,
    "h": 276.6
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#5C5EEE
secondary
#ECEBBA
accent
#DB08DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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