#5D5EF4#5D5EF4

#5D5EF4 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.0% C 0.219 H 276.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5D5EF4
RGBrgb(93, 94, 244)
HSLhsl(240, 87%, 66%)
HSVhsv(240, 62%, 96%)
CMYKcmyk(61.9%, 61.5%, 0%, 4.3%)
CIE-LABlab(48.09, 43.44, -75.46)
CIE-LCHlch(48.09, 87.07, 299.93°)
OKLaboklab(57.02% 0.0253 -0.2173)
OKLCHoklch(57.02% 0.219 276.6)
XYZxyz(24.8407, 16.8622, 87.5161)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EF4 #F4F35D
analogous
#5DA9F4 #5D5EF4 #A75DF4
triadic
#5D5EF4 #F45D5E #5EF45D
tetradic
#5D5EF4 #F45DA9 #F4F35D #5DF4A7
square
#5D5EF4 #F45DA9 #F4F35D #5DF4A7
split-complementary
#5D5EF4 #F4A75D #A9F45D
monochromatic
#0E0FC9 #2425F0 #5D5EF4 #9697F8 #D0D0FC

Accessibility & contrast

On white

4.80
#5D5EF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5D5EF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EF4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EF4#FFFFFF#000000##FFFFFF
##5D5EF41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d5ef4;
/* rgb */ color: rgb(93, 94, 244);
/* oklch */ color: oklch(57.0% 0.219 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a8cf9',
    500: '#5d5ef4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ef4;
$custom-light: #9a8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ef4",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 239.603,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.21878,
    "h": 276.6
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#5D5EF4
secondary
#EFEFBE
accent
#E202E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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