#5C4FA3#5C4FA3

#5C4FA3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.131 H 287.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5C4FA3
RGBrgb(92, 79, 163)
HSLhsl(249, 35%, 47%)
HSVhsv(249, 52%, 64%)
CMYKcmyk(43.6%, 51.5%, 0%, 36.1%)
CIE-LABlab(38.74, 26.95, -43.84)
CIE-LCHlch(38.74, 51.46, 301.58°)
OKLaboklab(48.28% 0.0394 -0.1245)
OKLCHoklch(48.28% 0.131 287.6)
XYZxyz(13.8186, 10.5111, 35.9440)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FA3 #96A34F
analogous
#4F6CA3 #5C4FA3 #864FA3
triadic
#5C4FA3 #A35C4F #4FA35C
tetradic
#5C4FA3 #A34F6C #96A34F #4FA386
square
#5C4FA3 #A34F6C #96A34F #4FA386
split-complementary
#5C4FA3 #A3864F #6CA34F
monochromatic
#2D2751 #453B7A #5C4FA3 #7F74BB #A59DCF

Accessibility & contrast

On white

6.77
#5C4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5C4FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FA3
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FA3#FFFFFF#000000##FFFFFF
##5C4FA31.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#476171
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c4fa3;
/* rgb */ color: rgb(92, 79, 163);
/* oklch */ color: oklch(48.3% 0.131 287.6);
Tailwind
colors: {
  custom: {
    50: '#8e80bf',
    500: '#5c4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fa3;
$custom-light: #8e80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fa3",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 249.286,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48284,
    "c": 0.13056,
    "h": 287.6
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#5C4FA3
secondary
#B6BC91
accent
#CB5DBA
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #5C4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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