#5D5EC6#5D5EC6

#5D5EC6 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.158 H 279.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D5EC6
RGBrgb(93, 94, 198)
HSLhsl(239, 48%, 57%)
HSVhsv(239, 53%, 78%)
CMYKcmyk(53%, 52.5%, 0%, 22.4%)
CIE-LABlab(44.81, 28.72, -54.63)
CIE-LCHlch(44.81, 61.72, 297.73°)
OKLaboklab(53.56% 0.0253 -0.1561)
OKLCHoklch(53.56% 0.158 279.2)
XYZxyz(18.7068, 14.4086, 55.2105)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EC6 #C6C55D
analogous
#5D92C6 #5D5EC6 #915DC6
triadic
#5D5EC6 #C65D5E #5EC65D
tetradic
#5D5EC6 #C65D92 #C6C55D #5DC691
square
#5D5EC6 #C65D92 #C6C55D #5DC691
split-complementary
#5D5EC6 #C6915D #92C65D
monochromatic
#2C2D7D #3C3DAA #5D5EC6 #8A8BD6 #B8B8E6

Accessibility & contrast

On white

5.41
#5D5EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5D5EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EC6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EC6#FFFFFF#000000##FFFFFF
##5D5EC61.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256ECA
Deuteranopia (green-blind)
#1666C4
Tritanopia (blue-blind)
#2F7589
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d5ec6;
/* rgb */ color: rgb(93, 94, 198);
/* oklch */ color: oklch(53.6% 0.158 279.2);
Tailwind
colors: {
  custom: {
    50: '#938bd8',
    500: '#5d5ec6',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ec6;
$custom-light: #938bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ec6",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 239.429,
    "s": 47.945,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.15811,
    "h": 279.2
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#5D5EC6
secondary
#D5D4AA
accent
#D650D8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #5D5EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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