#5D5DF4#5D5DF4

#5D5DF4 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.220 H 276.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5D5DF4
RGBrgb(93, 93, 244)
HSLhsl(240, 87%, 66%)
HSVhsv(240, 62%, 96%)
CMYKcmyk(61.9%, 61.9%, 0%, 4.3%)
CIE-LABlab(47.86, 44.03, -75.83)
CIE-LCHlch(47.86, 87.69, 300.14°)
OKLaboklab(56.86% 0.0261 -0.2184)
OKLCHoklch(56.86% 0.22 276.8)
XYZxyz(24.7524, 16.6855, 87.4867)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DF4 #F4F45D
analogous
#5DA8F4 #5D5DF4 #A85DF4
triadic
#5D5DF4 #F45D5D #5DF45D
tetradic
#5D5DF4 #F45DA8 #F4F45D #5DF4A8
square
#5D5DF4 #F45DA8 #F4F45D #5DF4A8
split-complementary
#5D5DF4 #F4A85D #A8F45D
monochromatic
#0E0EC9 #2424F0 #5D5DF4 #9696F8 #D0D0FC

Accessibility & contrast

On white

4.84
#5D5DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5D5DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DF4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DF4#FFFFFF#000000##FFFFFF
##5D5DF41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d5df4;
/* rgb */ color: rgb(93, 93, 244);
/* oklch */ color: oklch(56.9% 0.220 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a8bf9',
    500: '#5d5df4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5df4;
$custom-light: #9a8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5df4",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 240,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.21995,
    "h": 276.8
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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