#5C4BDE#5C4BDE

#5C4BDE is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.214 H 281.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5C4BDE
RGBrgb(92, 75, 222)
HSLhsl(247, 69%, 58%)
HSVhsv(247, 66%, 87%)
CMYKcmyk(58.6%, 66.2%, 0%, 12.9%)
CIE-LABlab(42.12, 47.41, -72.78)
CIE-LCHlch(42.12, 86.86, 303.08°)
OKLaboklab(52.12% 0.0416 -0.2095)
OKLCHoklch(52.12% 0.214 281.2)
XYZxyz(20.1104, 12.5800, 70.4615)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BDE #CDDE4B
analogous
#4B83DE #5C4BDE #A54BDE
triadic
#5C4BDE #DE5C4B #4BDE5C
tetradic
#5C4BDE #DE4B83 #CDDE4B #4BDEA5
square
#5C4BDE #DE4B83 #CDDE4B #4BDEA5
split-complementary
#5C4BDE #DEA54B #83DE4B
monochromatic
#291B94 #3725C7 #5C4BDE #8B7FE7 #BAB2F1

Accessibility & contrast

On white

5.97
#5C4BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5C4BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4BDE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BDE#FFFFFF#000000##FFFFFF
##5C4BDE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c4bde;
/* rgb */ color: rgb(92, 75, 222);
/* oklch */ color: oklch(52.1% 0.214 281.2);
Tailwind
colors: {
  custom: {
    50: '#977fe9',
    500: '#5c4bde',
    950: '#000000',
  },
}
SCSS
$custom: #5c4bde;
$custom-light: #977fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4bde",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 246.939,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.21363,
    "h": 281.2
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#5C4BDE
secondary
#D9E0A5
accent
#EC3CD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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