#5D5FDB#5D5FDB

#5D5FDB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.3% C 0.185 H 277.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D5FDB
RGBrgb(93, 95, 219)
HSLhsl(239, 64%, 61%)
HSVhsv(239, 58%, 86%)
CMYKcmyk(57.5%, 56.6%, 0%, 14.1%)
CIE-LABlab(46.48, 34.82, -63.98)
CIE-LCHlch(46.48, 72.84, 298.56°)
OKLaboklab(55.26% 0.025 -0.1836)
OKLCHoklch(55.26% 0.185 277.8)
XYZxyz(21.3885, 15.6245, 68.8929)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FDB #DBD95D
analogous
#5D9EDB #5D5FDB #9A5DDB
triadic
#5D5FDB #DB5D5F #5FDB5D
tetradic
#5D5FDB #DB5D9E #DBD95D #5DDB9A
square
#5D5FDB #DB5D9E #DBD95D #5DDB9A
split-complementary
#5D5FDB #DB9A5D #9EDB5D
monochromatic
#22249B #2E30CD #5D5FDB #8F90E6 #C1C2F1

Accessibility & contrast

On white

5.09
#5D5FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5D5FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FDB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FDB#FFFFFF#000000##FFFFFF
##5D5FDB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#077C94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5fdb;
/* rgb */ color: rgb(93, 95, 219);
/* oklch */ color: oklch(55.3% 0.185 277.8);
Tailwind
colors: {
  custom: {
    50: '#968ce7',
    500: '#5d5fdb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fdb;
$custom-light: #968ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fdb",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 239.048,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.18525,
    "h": 277.8
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

primary
#5D5FDB
secondary
#E2E1B2
accent
#C91ACB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D5FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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