#5C5FDC#5C5FDC

#5C5FDC is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.3% C 0.187 H 277.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5C5FDC
RGBrgb(92, 95, 220)
HSLhsl(239, 65%, 61%)
HSVhsv(239, 58%, 86%)
CMYKcmyk(58.2%, 56.8%, 0%, 13.7%)
CIE-LABlab(46.48, 34.97, -64.55)
CIE-LCHlch(46.48, 73.41, 298.44°)
OKLaboklab(55.26% 0.0239 -0.1853)
OKLCHoklch(55.26% 0.187 277.3)
XYZxyz(21.4200, 15.6255, 69.5835)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FDC #DCD95C
analogous
#5C9FDC #5C5FDC #995CDC
triadic
#5C5FDC #DC5C5F #5FDC5C
tetradic
#5C5FDC #DC5C9F #DCD95C #5CDC99
square
#5C5FDC #DC5C9F #DCD95C #5CDC99
split-complementary
#5C5FDC #DC995C #9FDC5C
monochromatic
#22249C #2C30CE #5C5FDC #8E90E7 #C1C2F2

Accessibility & contrast

On white

5.09
#5C5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5C5FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FDC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FDC#FFFFFF#000000##FFFFFF
##5C5FDC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5fdc;
/* rgb */ color: rgb(92, 95, 220);
/* oklch */ color: oklch(55.3% 0.187 277.3);
Tailwind
colors: {
  custom: {
    50: '#958ce8',
    500: '#5c5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5c5fdc;
$custom-light: #958ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5fdc",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 238.594,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55262,
    "c": 0.18679,
    "h": 277.3
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#5C5FDC
secondary
#E2E1B2
accent
#C819CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5C5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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