#5C51DA#5C51DA

#5C51DA is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.202 H 280.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5C51DA
RGBrgb(92, 81, 218)
HSLhsl(245, 65%, 59%)
HSVhsv(245, 63%, 85%)
CMYKcmyk(57.8%, 62.8%, 0%, 14.5%)
CIE-LABlab(43.09, 42.71, -68.91)
CIE-LCHlch(43.09, 81.08, 301.79°)
OKLaboklab(52.72% 0.0369 -0.1982)
OKLCHoklch(52.72% 0.202 280.5)
XYZxyz(20.0070, 13.2208, 67.8137)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C51DA #CFDA51
analogous
#518ADA #5C51DA #A151DA
triadic
#5C51DA #DA5C51 #51DA5C
tetradic
#5C51DA #DA518A #CFDA51 #51DAA1
square
#5C51DA #DA518A #CFDA51 #51DAA1
split-complementary
#5C51DA #DAA151 #8ADA51
monochromatic
#281F92 #362AC4 #5C51DA #8B83E5 #BBB6EF

Accessibility & contrast

On white

5.76
#5C51DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5C51DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C51DA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C51DA#FFFFFF#000000##FFFFFF
##5C51DA1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#09738E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c51da;
/* rgb */ color: rgb(92, 81, 218);
/* oklch */ color: oklch(52.7% 0.202 280.5);
Tailwind
colors: {
  custom: {
    50: '#9682e6',
    500: '#5c51da',
    950: '#000000',
  },
}
SCSS
$custom: #5c51da;
$custom-light: #9682e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c51da",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 244.818,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.20157,
    "h": 280.5
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#5C51DA
secondary
#DADEA8
accent
#E840DA
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C51DA

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

Preview Lab → · Contrast checker → · Palette generator →

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