#5C4FA7#5C4FA7

#5C4FA7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.136 H 287.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5C4FA7
RGBrgb(92, 79, 167)
HSLhsl(249, 36%, 48%)
HSVhsv(249, 53%, 65%)
CMYKcmyk(44.9%, 52.7%, 0%, 34.5%)
CIE-LABlab(39.00, 28.15, -45.82)
CIE-LCHlch(39.00, 53.78, 301.57°)
OKLaboklab(48.55% 0.0397 -0.1303)
OKLCHoklch(48.55% 0.136 287)
XYZxyz(14.1827, 10.6567, 37.8614)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FA7 #9AA74F
analogous
#4F6EA7 #5C4FA7 #884FA7
triadic
#5C4FA7 #A75C4F #4FA75C
tetradic
#5C4FA7 #A74F6E #9AA74F #4FA788
square
#5C4FA7 #A74F6E #9AA74F #4FA788
split-complementary
#5C4FA7 #A7884F #6EA74F
monochromatic
#2E2854 #453B7D #5C4FA7 #8075BE #A69FD2

Accessibility & contrast

On white

6.71
#5C4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5C4FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FA7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FA7#FFFFFF#000000##FFFFFF
##5C4FA71.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EAA
Deuteranopia (green-blind)
#2559A5
Tritanopia (blue-blind)
#456273
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c4fa7;
/* rgb */ color: rgb(92, 79, 167);
/* oklch */ color: oklch(48.6% 0.136 287.0);
Tailwind
colors: {
  custom: {
    50: '#8f80c2',
    500: '#5c4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fa7;
$custom-light: #8f80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fa7",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 248.864,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.1362,
    "h": 287
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#5C4FA7
secondary
#B8BE93
accent
#CC5CBB
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #5C4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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