#5C4FD5#5C4FD5

#5C4FD5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.0% C 0.198 H 281.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5C4FD5
RGBrgb(92, 79, 213)
HSLhsl(246, 61%, 57%)
HSVhsv(246, 63%, 84%)
CMYKcmyk(56.8%, 62.9%, 0%, 16.5%)
CIE-LABlab(42.26, 42.33, -67.41)
CIE-LCHlch(42.26, 79.59, 302.13°)
OKLaboklab(52% 0.0391 -0.1937)
OKLCHoklch(52% 0.198 281.4)
XYZxyz(19.2161, 12.6701, 64.3709)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FD5 #C8D54F
analogous
#4F85D5 #5C4FD5 #9F4FD5
triadic
#5C4FD5 #D55C4F #4FD55C
tetradic
#5C4FD5 #D54F85 #C8D54F #4FD59F
square
#5C4FD5 #D54F85 #C8D54F #4FD59F
split-complementary
#5C4FD5 #D59F4F #85D54F
monochromatic
#2B2189 #3A2CBA #5C4FD5 #8A80E1 #B8B2ED

Accessibility & contrast

On white

5.94
#5C4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5C4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FD5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FD5#FFFFFF#000000##FFFFFF
##5C4FD51.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#18708B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c4fd5;
/* rgb */ color: rgb(92, 79, 213);
/* oklch */ color: oklch(52.0% 0.198 281.4);
Tailwind
colors: {
  custom: {
    50: '#9581e3',
    500: '#5c4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fd5;
$custom-light: #9581e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fd5",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 245.821,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.19765,
    "h": 281.4
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#5C4FD5
secondary
#D6DBA5
accent
#E543D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5C4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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