#5C5EEB#5C5EEB

#5C5EEB is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.2% C 0.208 H 276.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5C5EEB
RGBrgb(92, 94, 235)
HSLhsl(239, 78%, 64%)
HSVhsv(239, 61%, 92%)
CMYKcmyk(60.9%, 60%, 0%, 7.8%)
CIE-LABlab(47.34, 40.41, -71.64)
CIE-LCHlch(47.34, 82.25, 299.42°)
OKLaboklab(56.24% 0.0245 -0.2061)
OKLCHoklch(56.24% 0.208 276.8)
XYZxyz(23.4069, 16.2770, 80.4895)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EEB #EBE95C
analogous
#5CA6EB #5C5EEB #A25CEB
triadic
#5C5EEB #EB5C5E #5EEB5C
tetradic
#5C5EEB #EB5CA6 #EBE95C #5CEBA2
square
#5C5EEB #EB5CA6 #EBE95C #5CEBA2
split-complementary
#5C5EEB #EBA25C #A6EB5C
monochromatic
#1619B6 #2528E4 #5C5EEB #9394F2 #C9CAF8

Accessibility & contrast

On white

4.93
#5C5EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5C5EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5EEB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EEB#FFFFFF#000000##FFFFFF
##5C5EEB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5eeb;
/* rgb */ color: rgb(92, 94, 235);
/* oklch */ color: oklch(56.2% 0.208 276.8);
Tailwind
colors: {
  custom: {
    50: '#988cf2',
    500: '#5c5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #5c5eeb;
$custom-light: #988cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5eeb",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 239.161,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.20756,
    "h": 276.8
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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