#5C51DB#5C51DB

#5C51DB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.203 H 280.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5C51DB
RGBrgb(92, 81, 219)
HSLhsl(245, 66%, 59%)
HSVhsv(245, 63%, 86%)
CMYKcmyk(58%, 63%, 0%, 14.1%)
CIE-LABlab(43.17, 43.03, -69.36)
CIE-LCHlch(43.17, 81.62, 301.81°)
OKLaboklab(52.81% 0.0368 -0.1995)
OKLCHoklch(52.81% 0.203 280.5)
XYZxyz(20.1382, 13.2733, 68.5049)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C51DB #D0DB51
analogous
#518BDB #5C51DB #A151DB
triadic
#5C51DB #DB5C51 #51DB5C
tetradic
#5C51DB #DB518B #D0DB51 #51DBA1
square
#5C51DB #DB518B #D0DB51 #51DBA1
split-complementary
#5C51DB #DBA151 #8BDB51
monochromatic
#281E93 #3529C6 #5C51DB #8C84E5 #BBB6F0

Accessibility & contrast

On white

5.75
#5C51DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5C51DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C51DB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C51DB#FFFFFF#000000##FFFFFF
##5C51DB1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#05738F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c51db;
/* rgb */ color: rgb(92, 81, 219);
/* oklch */ color: oklch(52.8% 0.203 280.5);
Tailwind
colors: {
  custom: {
    50: '#9683e7',
    500: '#5c51db',
    950: '#000000',
  },
}
SCSS
$custom: #5c51db;
$custom-light: #9683e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c51db",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 244.783,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52805,
    "c": 0.20284,
    "h": 280.5
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#5C51DB
secondary
#DBDFA9
accent
#E93FDB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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