#5D5FEB#5D5FEB

#5D5FEB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.5% C 0.206 H 276.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5D5FEB
RGBrgb(93, 95, 235)
HSLhsl(239, 78%, 64%)
HSVhsv(239, 60%, 92%)
CMYKcmyk(60.4%, 59.6%, 0%, 7.8%)
CIE-LABlab(47.63, 39.97, -71.15)
CIE-LCHlch(47.63, 81.61, 299.32°)
OKLaboklab(56.48% 0.0248 -0.2046)
OKLCHoklch(56.48% 0.206 276.9)
XYZxyz(23.5970, 16.5079, 80.5240)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FEB #EBE95D
analogous
#5DA6EB #5D5FEB #A25DEB
triadic
#5D5FEB #EB5D5F #5FEB5D
tetradic
#5D5FEB #EB5DA6 #EBE95D #5DEBA2
square
#5D5FEB #EB5DA6 #EBE95D #5DEBA2
split-complementary
#5D5FEB #EBA25D #A6EB5D
monochromatic
#1719B7 #2729E4 #5D5FEB #9395F2 #CACBF8

Accessibility & contrast

On white

4.88
#5D5FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5D5FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FEB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FEB#FFFFFF#000000##FFFFFF
##5D5FEB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5feb;
/* rgb */ color: rgb(93, 95, 235);
/* oklch */ color: oklch(56.5% 0.206 276.9);
Tailwind
colors: {
  custom: {
    50: '#988cf2',
    500: '#5d5feb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5feb;
$custom-light: #988cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5feb",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 239.155,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.20615,
    "h": 276.9
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#5D5FEB
secondary
#EBEAB9
accent
#D70BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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