#5C5DEB#5C5DEB

#5C5DEB is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.209 H 277.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5C5DEB
RGBrgb(92, 93, 235)
HSLhsl(240, 78%, 64%)
HSVhsv(240, 61%, 92%)
CMYKcmyk(60.9%, 60.4%, 0%, 7.8%)
CIE-LABlab(47.11, 41.00, -72.01)
CIE-LCHlch(47.11, 82.87, 299.66°)
OKLaboklab(56.07% 0.0254 -0.2072)
OKLCHoklch(56.07% 0.209 277)
XYZxyz(23.3185, 16.1004, 80.4600)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DEB #EBEA5C
analogous
#5CA5EB #5C5DEB #A25CEB
triadic
#5C5DEB #EB5C5D #5DEB5C
tetradic
#5C5DEB #EB5CA5 #EBEA5C #5CEBA2
square
#5C5DEB #EB5CA5 #EBEA5C #5CEBA2
split-complementary
#5C5DEB #EBA25C #A5EB5C
monochromatic
#1617B6 #2527E4 #5C5DEB #9393F2 #C9C9F8

Accessibility & contrast

On white

4.98
#5C5DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5C5DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DEB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DEB#FFFFFF#000000##FFFFFF
##5C5DEB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5deb;
/* rgb */ color: rgb(92, 93, 235);
/* oklch */ color: oklch(56.1% 0.209 277.0);
Tailwind
colors: {
  custom: {
    50: '#988bf2',
    500: '#5c5deb',
    950: '#000000',
  },
}
SCSS
$custom: #5c5deb;
$custom-light: #988bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5deb",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 239.58,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.20877,
    "h": 277
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#5C5DEB
secondary
#EAEAB8
accent
#D90BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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