#5C4FDB#5C4FDB

#5C4FDB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.205 H 280.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5C4FDB
RGBrgb(92, 79, 219)
HSLhsl(246, 66%, 58%)
HSVhsv(246, 64%, 86%)
CMYKcmyk(58%, 63.9%, 0%, 14.1%)
CIE-LABlab(42.73, 44.19, -70.07)
CIE-LCHlch(42.73, 82.84, 302.24°)
OKLaboklab(52.49% 0.0386 -0.2016)
OKLCHoklch(52.49% 0.205 280.8)
XYZxyz(19.9918, 12.9804, 68.4561)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FDB #CEDB4F
analogous
#4F88DB #5C4FDB #A24FDB
triadic
#5C4FDB #DB5C4F #4FDB5C
tetradic
#5C4FDB #DB4F88 #CEDB4F #4FDBA2
square
#5C4FDB #DB4F88 #CEDB4F #4FDBA2
split-complementary
#5C4FDB #DBA24F #88DB4F
monochromatic
#291E92 #3728C5 #5C4FDB #8B82E5 #BAB5F0

Accessibility & contrast

On white

5.84
#5C4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5C4FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FDB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FDB#FFFFFF#000000##FFFFFF
##5C4FDB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#06728E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4fdb;
/* rgb */ color: rgb(92, 79, 219);
/* oklch */ color: oklch(52.5% 0.205 280.8);
Tailwind
colors: {
  custom: {
    50: '#9681e7',
    500: '#5c4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fdb;
$custom-light: #9681e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fdb",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 245.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.20524,
    "h": 280.8
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#5C4FDB
secondary
#DADFA7
accent
#E93FD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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