#5C4BDF#5C4BDF

#5C4BDF is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.215 H 281.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5C4BDF
RGBrgb(92, 75, 223)
HSLhsl(247, 70%, 58%)
HSVhsv(247, 66%, 87%)
CMYKcmyk(58.7%, 66.4%, 0%, 12.5%)
CIE-LABlab(42.21, 47.71, -73.21)
CIE-LCHlch(42.21, 87.39, 303.09°)
OKLaboklab(52.2% 0.0415 -0.2108)
OKLCHoklch(52.2% 0.215 281.1)
XYZxyz(20.2448, 12.6338, 71.1695)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BDF #CEDF4B
analogous
#4B84DF #5C4BDF #A64BDF
triadic
#5C4BDF #DF5C4B #4BDF5C
tetradic
#5C4BDF #DF4B84 #CEDF4B #4BDFA6
square
#5C4BDF #DF4B84 #CEDF4B #4BDFA6
split-complementary
#5C4BDF #DFA64B #84DF4B
monochromatic
#291B95 #3724C9 #5C4BDF #8B7FE8 #BAB3F1

Accessibility & contrast

On white

5.95
#5C4BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C4BDF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BDF#FFFFFF#000000##FFFFFF
##5C4BDF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c4bdf;
/* rgb */ color: rgb(92, 75, 223);
/* oklch */ color: oklch(52.2% 0.215 281.1);
Tailwind
colors: {
  custom: {
    50: '#977fea',
    500: '#5c4bdf',
    950: '#000000',
  },
}
SCSS
$custom: #5c4bdf;
$custom-light: #977fea;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4bdf",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 246.892,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.21486,
    "h": 281.1
  },
  "luminance": 0.12635
}

Semantic roles & 50–950 ramp

primary
#5C4BDF
secondary
#DAE0A6
accent
#ED3BD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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