#5C4FCF#5C4FCF

#5C4FCF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.190 H 282.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5C4FCF
RGBrgb(92, 79, 207)
HSLhsl(246, 57%, 56%)
HSVhsv(246, 62%, 81%)
CMYKcmyk(55.6%, 61.8%, 0%, 18.8%)
CIE-LABlab(41.80, 40.46, -64.71)
CIE-LCHlch(41.80, 76.32, 302.02°)
OKLaboklab(51.51% 0.0395 -0.1858)
OKLCHoklch(51.51% 0.19 282)
XYZxyz(18.4686, 12.3711, 60.4341)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FCF #C2CF4F
analogous
#4F82CF #5C4FCF #9C4FCF
triadic
#5C4FCF #CF5C4F #4FCF5C
tetradic
#5C4FCF #CF4F82 #C2CF4F #4FCF9C
square
#5C4FCF #CF4F82 #C2CF4F #4FCF9C
split-complementary
#5C4FCF #CF9C4F #82CF4F
monochromatic
#2D2381 #3D30B1 #5C4FCF #897FDC #B5AFE9

Accessibility & contrast

On white

6.04
#5C4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5C4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FCF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FCF#FFFFFF#000000##FFFFFF
##5C4FCF1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#236E87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c4fcf;
/* rgb */ color: rgb(92, 79, 207);
/* oklch */ color: oklch(51.5% 0.190 282.0);
Tailwind
colors: {
  custom: {
    50: '#9481df',
    500: '#5c4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fcf;
$custom-light: #9481df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fcf",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 246.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.18999,
    "h": 282
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#5C4FCF
secondary
#D2D7A2
accent
#E047D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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