#5D5EC0#5D5EC0

#5D5EC0 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.2% C 0.150 H 279.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5D5EC0
RGBrgb(93, 94, 192)
HSLhsl(239, 44%, 56%)
HSVhsv(239, 52%, 75%)
CMYKcmyk(51.6%, 51%, 0%, 24.7%)
CIE-LABlab(44.43, 26.81, -51.78)
CIE-LCHlch(44.43, 58.31, 297.38°)
OKLaboklab(53.15% 0.0249 -0.1477)
OKLCHoklch(53.15% 0.15 279.6)
XYZxyz(18.0284, 14.1373, 51.6377)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EC0 #C0BF5D
analogous
#5D8FC0 #5D5EC0 #8D5DC0
triadic
#5D5EC0 #C05D5E #5EC05D
tetradic
#5D5EC0 #C05D8F #C0BF5D #5DC08D
square
#5D5EC0 #C05D8F #C0BF5D #5DC08D
split-complementary
#5D5EC0 #C08D5D #8FC05D
monochromatic
#2E2E75 #3F40A1 #5D5EC0 #898AD1 #B5B6E2

Accessibility & contrast

On white

5.49
#5D5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5D5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EC0
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EC0#FFFFFF#000000##FFFFFF
##5D5EC01.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC3
Deuteranopia (green-blind)
#2265BE
Tritanopia (blue-blind)
#347486
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d5ec0;
/* rgb */ color: rgb(93, 94, 192);
/* oklch */ color: oklch(53.2% 0.150 279.6);
Tailwind
colors: {
  custom: {
    50: '#928bd4',
    500: '#5d5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ec0;
$custom-light: #928bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ec0",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 239.394,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.14976,
    "h": 279.6
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#5D5EC0
secondary
#D1D0A8
accent
#D254D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5D5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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