#5C4EAF#5C4EAF

#5C4EAF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.149 H 286.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5C4EAF
RGBrgb(92, 78, 175)
HSLhsl(249, 38%, 50%)
HSVhsv(249, 55%, 69%)
CMYKcmyk(47.4%, 55.4%, 0%, 31.4%)
CIE-LABlab(39.27, 31.19, -50.12)
CIE-LCHlch(39.27, 59.03, 301.90°)
OKLaboklab(48.93% 0.0413 -0.1429)
OKLCHoklch(48.93% 0.149 286.1)
XYZxyz(14.8736, 10.8186, 41.8536)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EAF #A1AF4E
analogous
#4E70AF #5C4EAF #8D4EAF
triadic
#5C4EAF #AF5C4E #4EAF5C
tetradic
#5C4EAF #AF4E70 #A1AF4E #4EAF8D
square
#5C4EAF #AF4E70 #A1AF4E #4EAF8D
split-complementary
#5C4EAF #AF8D4E #70AF4E
monochromatic
#2F285A #463B85 #5C4EAF #8278C3 #A9A2D6

Accessibility & contrast

On white

6.64
#5C4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5C4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EAF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EAF#FFFFFF#000000##FFFFFF
##5C4EAF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#145AAD
Tritanopia (blue-blind)
#406377
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c4eaf;
/* rgb */ color: rgb(92, 78, 175);
/* oklch */ color: oklch(48.9% 0.149 286.1);
Tailwind
colors: {
  custom: {
    50: '#9080c7',
    500: '#5c4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #5c4eaf;
$custom-light: #9080c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4eaf",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 248.66,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.14878,
    "h": 286.1
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#5C4EAF
secondary
#BCC396
accent
#CE5ABD
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5C4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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