#5D5FEA#5D5FEA

#5D5FEA is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.205 H 277.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5D5FEA
RGBrgb(93, 95, 234)
HSLhsl(239, 77%, 64%)
HSVhsv(239, 60%, 92%)
CMYKcmyk(60.3%, 59.4%, 0%, 8.2%)
CIE-LABlab(47.56, 39.64, -70.71)
CIE-LCHlch(47.56, 81.06, 299.28°)
OKLaboklab(56.4% 0.0248 -0.2033)
OKLCHoklch(56.4% 0.205 277)
XYZxyz(23.4529, 16.4503, 79.7653)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FEA #EAE85D
analogous
#5DA6EA #5D5FEA #A25DEA
triadic
#5D5FEA #EA5D5F #5FEA5D
tetradic
#5D5FEA #EA5DA6 #EAE85D #5DEAA2
square
#5D5FEA #EA5DA6 #EAE85D #5DEAA2
split-complementary
#5D5FEA #EAA25D #A6EA5D
monochromatic
#171AB5 #2729E3 #5D5FEA #9395F1 #C9CAF8

Accessibility & contrast

On white

4.89
#5D5FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5D5FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FEA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FEA#FFFFFF#000000##FFFFFF
##5D5FEA1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5fea;
/* rgb */ color: rgb(93, 95, 234);
/* oklch */ color: oklch(56.4% 0.205 277.0);
Tailwind
colors: {
  custom: {
    50: '#988cf2',
    500: '#5d5fea',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fea;
$custom-light: #988cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fea",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 239.149,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.20486,
    "h": 277
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#5D5FEA
secondary
#EAE9B9
accent
#D60CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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