#5C5DF3#5C5DF3

#5C5DF3 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.219 H 276.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5C5DF3
RGBrgb(92, 93, 243)
HSLhsl(240, 86%, 66%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(62.1%, 61.7%, 0%, 4.7%)
CIE-LABlab(47.72, 43.57, -75.51)
CIE-LCHlch(47.72, 87.17, 299.98°)
OKLaboklab(56.71% 0.025 -0.2175)
OKLCHoklch(56.71% 0.219 276.6)
XYZxyz(24.5004, 16.5731, 86.6845)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DF3 #F3F25C
analogous
#5CA8F3 #5C5DF3 #A75CF3
triadic
#5C5DF3 #F35C5D #5DF35C
tetradic
#5C5DF3 #F35CA8 #F3F25C #5CF3A7
square
#5C5DF3 #F35CA8 #F3F25C #5CF3A7
split-complementary
#5C5DF3 #F3A75C #A8F35C
monochromatic
#0F10C6 #2324EF #5C5DF3 #9596F7 #CECEFB

Accessibility & contrast

On white

4.87
#5C5DF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5C5DF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DF3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DF3#FFFFFF#000000##FFFFFF
##5C5DF31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5df3;
/* rgb */ color: rgb(92, 93, 243);
/* oklch */ color: oklch(56.7% 0.219 276.6);
Tailwind
colors: {
  custom: {
    50: '#998bf8',
    500: '#5c5df3',
    950: '#000000',
  },
}
SCSS
$custom: #5c5df3;
$custom-light: #998bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5df3",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 239.603,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.21891,
    "h": 276.6
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#5C5DF3
secondary
#EFEEBC
accent
#E103E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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