#5D5BDF#5D5BDF

#5D5BDF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.9% C 0.196 H 278.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5D5BDF
RGBrgb(93, 91, 223)
HSLhsl(241, 67%, 62%)
HSVhsv(241, 59%, 87%)
CMYKcmyk(58.3%, 59.2%, 0%, 12.5%)
CIE-LABlab(45.82, 38.52, -67.32)
CIE-LCHlch(45.82, 77.56, 299.78°)
OKLaboklab(54.86% 0.0288 -0.1934)
OKLCHoklch(54.86% 0.196 278.5)
XYZxyz(21.5703, 15.1355, 71.5825)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BDF #DDDF5B
analogous
#5B9BDF #5D5BDF #9F5BDF
triadic
#5D5BDF #DF5D5B #5BDF5D
tetradic
#5D5BDF #DF5B9B #DDDF5B #5BDF9F
square
#5D5BDF #DF5B9B #DDDF5B #5BDF9F
split-complementary
#5D5BDF #DF9F5B #9BDF5B
monochromatic
#211FA0 #2C29D4 #5D5BDF #908EE9 #C2C1F3

Accessibility & contrast

On white

5.21
#5D5BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5D5BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BDF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BDF#FFFFFF#000000##FFFFFF
##5D5BDF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5bdf;
/* rgb */ color: rgb(93, 91, 223);
/* oklch */ color: oklch(54.9% 0.196 278.5);
Tailwind
colors: {
  custom: {
    50: '#9789ea',
    500: '#5d5bdf',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bdf;
$custom-light: #9789ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bdf",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 240.909,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.19554,
    "h": 278.5
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#5D5BDF
secondary
#E3E3B2
accent
#CF16CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D5BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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