#5D5FDD#5D5FDD

#5D5FDD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.4% C 0.188 H 277.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D5FDD
RGBrgb(93, 95, 221)
HSLhsl(239, 65%, 62%)
HSVhsv(239, 58%, 87%)
CMYKcmyk(57.9%, 57%, 0%, 13.3%)
CIE-LABlab(46.62, 35.47, -64.89)
CIE-LCHlch(46.62, 73.95, 298.66°)
OKLaboklab(55.41% 0.025 -0.1862)
OKLCHoklch(55.41% 0.188 277.6)
XYZxyz(21.6534, 15.7305, 70.2878)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FDD #DDDB5D
analogous
#5D9FDD #5D5FDD #9B5DDD
triadic
#5D5FDD #DD5D5F #5FDD5D
tetradic
#5D5FDD #DD5D9F #DDDB5D #5DDD9B
square
#5D5FDD #DD5D9F #DDDB5D #5DDD9B
split-complementary
#5D5FDD #DD9B5D #9FDD5D
monochromatic
#21239E #2C2ED1 #5D5FDD #9091E8 #C2C3F2

Accessibility & contrast

On white

5.06
#5D5FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5D5FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FDD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FDD#FFFFFF#000000##FFFFFF
##5D5FDD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5fdd;
/* rgb */ color: rgb(93, 95, 221);
/* oklch */ color: oklch(55.4% 0.188 277.6);
Tailwind
colors: {
  custom: {
    50: '#968ce8',
    500: '#5d5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fdd;
$custom-light: #968ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fdd",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 239.063,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55406,
    "c": 0.1879,
    "h": 277.6
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#5D5FDD
secondary
#E3E2B3
accent
#CA18CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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