#5D5BDB#5D5BDB

#5D5BDB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.190 H 278.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5D5BDB
RGBrgb(93, 91, 219)
HSLhsl(241, 64%, 61%)
HSVhsv(241, 58%, 86%)
CMYKcmyk(57.5%, 58.4%, 0%, 14.1%)
CIE-LABlab(45.53, 37.25, -65.52)
CIE-LCHlch(45.53, 75.37, 299.62°)
OKLaboklab(54.55% 0.0288 -0.1881)
OKLCHoklch(54.55% 0.19 278.7)
XYZxyz(21.0374, 14.9223, 68.7758)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BDB #D9DB5B
analogous
#5B99DB #5D5BDB #9D5BDB
triadic
#5D5BDB #DB5D5B #5BDB5D
tetradic
#5D5BDB #DB5B99 #D9DB5B #5BDB9D
square
#5D5BDB #DB5B99 #D9DB5B #5BDB9D
split-complementary
#5D5BDB #DB9D5B #99DB5B
monochromatic
#24229A #2F2DCC #5D5BDB #8F8DE6 #C0BFF1

Accessibility & contrast

On white

5.27
#5D5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5D5BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BDB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BDB#FFFFFF#000000##FFFFFF
##5D5BDB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#097A92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5bdb;
/* rgb */ color: rgb(93, 91, 219);
/* oklch */ color: oklch(54.6% 0.190 278.7);
Tailwind
colors: {
  custom: {
    50: '#9689e7',
    500: '#5d5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bdb;
$custom-light: #9689e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bdb",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 240.938,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.19032,
    "h": 278.7
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#5D5BDB
secondary
#E0E1B1
accent
#CC1AC9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5D5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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