#5D5FC0#5D5FC0

#5D5FC0 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.148 H 279.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5D5FC0
RGBrgb(93, 95, 192)
HSLhsl(239, 44%, 56%)
HSVhsv(239, 52%, 75%)
CMYKcmyk(51.6%, 50.5%, 0%, 24.7%)
CIE-LABlab(44.68, 26.19, -51.37)
CIE-LCHlch(44.68, 57.66, 297.02°)
OKLaboklab(53.34% 0.0238 -0.1465)
OKLCHoklch(53.34% 0.148 279.2)
XYZxyz(18.1179, 14.3163, 51.6676)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FC0 #C0BE5D
analogous
#5D90C0 #5D5FC0 #8C5DC0
triadic
#5D5FC0 #C05D5F #5FC05D
tetradic
#5D5FC0 #C05D90 #C0BE5D #5DC08C
square
#5D5FC0 #C05D90 #C0BE5D #5DC08C
split-complementary
#5D5FC0 #C08C5D #90C05D
monochromatic
#2E2F75 #3F41A1 #5D5FC0 #898BD1 #B5B6E2

Accessibility & contrast

On white

5.44
#5D5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5D5FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FC0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FC0#FFFFFF#000000##FFFFFF
##5D5FC01.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306EC3
Deuteranopia (green-blind)
#2566BE
Tritanopia (blue-blind)
#347486
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d5fc0;
/* rgb */ color: rgb(93, 95, 192);
/* oklch */ color: oklch(53.3% 0.148 279.2);
Tailwind
colors: {
  custom: {
    50: '#928cd4',
    500: '#5d5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fc0;
$custom-light: #928cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fc0",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 238.788,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.14838,
    "h": 279.2
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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