#5C5EEF#5C5EEF

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

Color values

HEX#5C5EEF
RGBrgb(92, 94, 239)
HSLhsl(239, 82%, 65%)
HSVhsv(239, 62%, 94%)
CMYKcmyk(61.5%, 60.7%, 0%, 6.3%)
CIE-LABlab(47.64, 41.69, -73.39)
CIE-LCHlch(47.64, 84.41, 299.60°)
OKLaboklab(56.56% 0.0244 -0.2113)
OKLCHoklch(56.56% 0.213 276.6)
XYZxyz(23.9913, 16.5108, 83.5672)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EEF #EFED5C
analogous
#5CA7EF #5C5EEF #A45CEF
triadic
#5C5EEF #EF5C5E #5EEF5C
tetradic
#5C5EEF #EF5CA7 #EFED5C #5CEFA4
square
#5C5EEF #EF5CA7 #EFED5C #5CEFA4
split-complementary
#5C5EEF #EFA45C #A7EF5C
monochromatic
#1315BE #2427EA #5C5EEF #9495F4 #CBCCFA

Accessibility & contrast

On white

4.88
#5C5EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5C5EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5EEF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EEF#FFFFFF#000000##FFFFFF
##5C5EEF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5eef;
/* rgb */ color: rgb(92, 94, 239);
/* oklch */ color: oklch(56.6% 0.213 276.6);
Tailwind
colors: {
  custom: {
    50: '#988cf5',
    500: '#5c5eef',
    950: '#000000',
  },
}
SCSS
$custom: #5c5eef;
$custom-light: #988cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5eef",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 239.184,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56555,
    "c": 0.21267,
    "h": 276.6
  },
  "luminance": 0.16513
}

Semantic roles & 50–950 ramp

primary
#5C5EEF
secondary
#ECECBA
accent
#DC07DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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