#5D5AEF#5D5AEF

#5D5AEF is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.217 H 277.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5D5AEF
RGBrgb(93, 90, 239)
HSLhsl(241, 82%, 65%)
HSVhsv(241, 62%, 94%)
CMYKcmyk(61.1%, 62.3%, 0%, 6.3%)
CIE-LABlab(46.80, 44.21, -74.75)
CIE-LCHlch(46.80, 86.84, 300.60°)
OKLaboklab(55.96% 0.0289 -0.2153)
OKLCHoklch(55.96% 0.217 277.6)
XYZxyz(23.7453, 15.8696, 83.4565)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AEF #ECEF5A
analogous
#5AA2EF #5D5AEF #A85AEF
triadic
#5D5AEF #EF5D5A #5AEF5D
tetradic
#5D5AEF #EF5AA2 #ECEF5A #5AEFA8
square
#5D5AEF #EF5AA2 #ECEF5A #5AEFA8
split-complementary
#5D5AEF #EFA85A #A2EF5A
monochromatic
#1612BC #2622EA #5D5AEF #9492F4 #CBCAFA

Accessibility & contrast

On white

5.03
#5D5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5D5AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AEF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AEF#FFFFFF#000000##FFFFFF
##5D5AEF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5aef;
/* rgb */ color: rgb(93, 90, 239);
/* oklch */ color: oklch(56.0% 0.217 277.6);
Tailwind
colors: {
  custom: {
    50: '#9989f5',
    500: '#5d5aef',
    950: '#000000',
  },
}
SCSS
$custom: #5d5aef;
$custom-light: #9989f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5aef",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 241.208,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.21718,
    "h": 277.6
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#5D5AEF
secondary
#EBECB9
accent
#DF07DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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