#5C51DE#5C51DE

#5C51DE is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.207 H 280.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5C51DE
RGBrgb(92, 81, 222)
HSLhsl(245, 68%, 59%)
HSVhsv(245, 64%, 87%)
CMYKcmyk(58.6%, 63.5%, 0%, 12.9%)
CIE-LABlab(43.41, 43.96, -70.68)
CIE-LCHlch(43.41, 83.24, 301.88°)
OKLaboklab(53.05% 0.0366 -0.2034)
OKLCHoklch(53.05% 0.207 280.2)
XYZxyz(20.5367, 13.4327, 70.6036)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C51DE #D3DE51
analogous
#518DDE #5C51DE #A351DE
triadic
#5C51DE #DE5C51 #51DE5C
tetradic
#5C51DE #DE518D #D3DE51 #51DEA3
square
#5C51DE #DE518D #D3DE51 #51DEA3
split-complementary
#5C51DE #DEA351 #8DDE51
monochromatic
#261D98 #3327CB #5C51DE #8C84E8 #BCB8F2

Accessibility & contrast

On white

5.70
#5C51DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5C51DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C51DE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C51DE#FFFFFF#000000##FFFFFF
##5C51DE1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0061DB
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c51de;
/* rgb */ color: rgb(92, 81, 222);
/* oklch */ color: oklch(53.0% 0.207 280.2);
Tailwind
colors: {
  custom: {
    50: '#9783e9',
    500: '#5c51de',
    950: '#000000',
  },
}
SCSS
$custom: #5c51de;
$custom-light: #9783e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c51de",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 244.681,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5305,
    "c": 0.20663,
    "h": 280.2
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#5C51DE
secondary
#DDE1AA
accent
#EB3DDD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C51DE

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

Preview Lab → · Contrast checker → · Palette generator →

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