#5C5DF2#5C5DF2

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

Color values

HEX#5C5DF2
RGBrgb(92, 93, 242)
HSLhsl(240, 85%, 65%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(62%, 61.6%, 0%, 5.1%)
CIE-LABlab(47.64, 43.25, -75.07)
CIE-LCHlch(47.64, 86.64, 299.94°)
OKLaboklab(56.63% 0.0251 -0.2162)
OKLCHoklch(56.63% 0.218 276.6)
XYZxyz(24.3498, 16.5129, 85.8913)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DF2 #F2F15C
analogous
#5CA8F2 #5C5DF2 #A65CF2
triadic
#5C5DF2 #F25C5D #5DF25C
tetradic
#5C5DF2 #F25CA8 #F2F15C #5CF2A6
square
#5C5DF2 #F25CA8 #F2F15C #5CF2A6
split-complementary
#5C5DF2 #F2A65C #A8F25C
monochromatic
#1011C4 #2325ED #5C5DF2 #9595F7 #CDCEFB

Accessibility & contrast

On white

4.88
#5C5DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5C5DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DF2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DF2#FFFFFF#000000##FFFFFF
##5C5DF21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c5df2;
/* rgb */ color: rgb(92, 93, 242);
/* oklch */ color: oklch(56.6% 0.218 276.6);
Tailwind
colors: {
  custom: {
    50: '#998bf7',
    500: '#5c5df2',
    950: '#000000',
  },
}
SCSS
$custom: #5c5df2;
$custom-light: #998bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5df2",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 239.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.21766,
    "h": 276.6
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#5C5DF2
secondary
#EEEEBC
accent
#E004E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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