#5C5DEF#5C5DEF

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

Color values

HEX#5C5DEF
RGBrgb(92, 93, 239)
HSLhsl(240, 82%, 65%)
HSVhsv(240, 62%, 94%)
CMYKcmyk(61.5%, 61.1%, 0%, 6.3%)
CIE-LABlab(47.41, 42.28, -73.77)
CIE-LCHlch(47.41, 85.03, 299.82°)
OKLaboklab(56.39% 0.0252 -0.2124)
OKLCHoklch(56.39% 0.214 276.8)
XYZxyz(23.9029, 16.3341, 83.5378)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DEF #EFEE5C
analogous
#5CA6EF #5C5DEF #A55CEF
triadic
#5C5DEF #EF5C5D #5DEF5C
tetradic
#5C5DEF #EF5CA6 #EFEE5C #5CEFA5
square
#5C5DEF #EF5CA6 #EFEE5C #5CEFA5
split-complementary
#5C5DEF #EFA55C #A6EF5C
monochromatic
#1314BE #2426EA #5C5DEF #9494F4 #CBCCFA

Accessibility & contrast

On white

4.92
#5C5DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5C5DEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DEF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DEF#FFFFFF#000000##FFFFFF
##5C5DEF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5def;
/* rgb */ color: rgb(92, 93, 239);
/* oklch */ color: oklch(56.4% 0.214 276.8);
Tailwind
colors: {
  custom: {
    50: '#998bf5',
    500: '#5c5def',
    950: '#000000',
  },
}
SCSS
$custom: #5c5def;
$custom-light: #998bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5def",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 239.592,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.21386,
    "h": 276.8
  },
  "luminance": 0.16336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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