#5D51DD#5D51DD

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

Color values

HEX#5D51DD
RGBrgb(93, 81, 221)
HSLhsl(245, 67%, 59%)
HSVhsv(245, 63%, 87%)
CMYKcmyk(57.9%, 63.3%, 0%, 13.3%)
CIE-LABlab(43.41, 43.81, -70.11)
CIE-LCHlch(43.41, 82.67, 302.00°)
OKLaboklab(53.04% 0.0379 -0.2017)
OKLCHoklch(53.04% 0.205 280.6)
XYZxyz(20.5037, 13.4311, 69.9046)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D51DD #D1DD51
analogous
#518BDD #5D51DD #A351DD
triadic
#5D51DD #DD5D51 #51DD5D
tetradic
#5D51DD #DD518B #D1DD51 #51DDA3
square
#5D51DD #DD518B #D1DD51 #51DDA3
split-complementary
#5D51DD #DDA351 #8BDD51
monochromatic
#281D96 #3527C9 #5D51DD #8D84E7 #BCB7F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D51DD#FFFFFF#000000##FFFFFF
##5D51DD1.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)
#006CE1
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#067490
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d51dd;
/* rgb */ color: rgb(93, 81, 221);
/* oklch */ color: oklch(53.0% 0.205 280.6);
Tailwind
colors: {
  custom: {
    50: '#9783e9',
    500: '#5d51dd',
    950: '#000000',
  },
}
SCSS
$custom: #5d51dd;
$custom-light: #9783e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d51dd",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 245.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.2052,
    "h": 280.6
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#5D51DD
secondary
#DCE0AA
accent
#EA3EDB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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