#5D51E0#5D51E0

#5D51E0 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.209 H 280.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5D51E0
RGBrgb(93, 81, 224)
HSLhsl(245, 70%, 60%)
HSVhsv(245, 64%, 88%)
CMYKcmyk(58.5%, 63.8%, 0%, 12.2%)
CIE-LABlab(43.64, 44.74, -71.43)
CIE-LCHlch(43.64, 84.29, 302.06°)
OKLaboklab(53.29% 0.0376 -0.2055)
OKLCHoklch(53.29% 0.209 280.4)
XYZxyz(20.9069, 13.5924, 72.0284)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D51E0 #D4E051
analogous
#518DE0 #5D51E0 #A551E0
triadic
#5D51E0 #E05D51 #51E05D
tetradic
#5D51E0 #E0518D #D4E051 #51E0A5
square
#5D51E0 #E0518D #D4E051 #51E0A5
split-complementary
#5D51E0 #E0A551 #8DE051
monochromatic
#261C9B #3325CF #5D51E0 #8D85E9 #BEB9F3

Accessibility & contrast

On white

5.65
#5D51E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5D51E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D51E0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D51E0#FFFFFF#000000##FFFFFF
##5D51E01.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0062DD
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d51e0;
/* rgb */ color: rgb(93, 81, 224);
/* oklch */ color: oklch(53.3% 0.209 280.4);
Tailwind
colors: {
  custom: {
    50: '#9783eb',
    500: '#5d51e0',
    950: '#000000',
  },
}
SCSS
$custom: #5d51e0;
$custom-light: #9783eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d51e0",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 245.035,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.20896,
    "h": 280.4
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#5D51E0
secondary
#DDE2AB
accent
#ED3BDE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D51E0

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

Preview Lab → · Contrast checker → · Palette generator →

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