#5C5FEB#5C5FEB

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

Color values

HEX#5C5FEB
RGBrgb(92, 95, 235)
HSLhsl(239, 78%, 64%)
HSVhsv(239, 61%, 92%)
CMYKcmyk(60.9%, 59.6%, 0%, 7.8%)
CIE-LABlab(47.57, 39.81, -71.26)
CIE-LCHlch(47.57, 81.63, 299.19°)
OKLaboklab(56.41% 0.0237 -0.205)
OKLCHoklch(56.41% 0.206 276.6)
XYZxyz(23.4964, 16.4560, 80.5193)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FEB #EBE85C
analogous
#5CA7EB #5C5FEB #A15CEB
triadic
#5C5FEB #EB5C5F #5FEB5C
tetradic
#5C5FEB #EB5CA7 #EBE85C #5CEBA1
square
#5C5FEB #EB5CA7 #EBE85C #5CEBA1
split-complementary
#5C5FEB #EBA15C #A7EB5C
monochromatic
#161AB6 #2529E4 #5C5FEB #9395F2 #C9CAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5FEB#FFFFFF#000000##FFFFFF
##5C5FEB1.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)
#0077F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5feb;
/* rgb */ color: rgb(92, 95, 235);
/* oklch */ color: oklch(56.4% 0.206 276.6);
Tailwind
colors: {
  custom: {
    50: '#988cf2',
    500: '#5c5feb',
    950: '#000000',
  },
}
SCSS
$custom: #5c5feb;
$custom-light: #988cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5feb",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 238.741,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.20636,
    "h": 276.6
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#5C5FEB
secondary
#EAE9B8
accent
#D60BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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