#5D5EF9#5D5EF9

#5D5EF9 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.4% C 0.225 H 276.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5D5EF9
RGBrgb(93, 94, 249)
HSLhsl(240, 93%, 67%)
HSVhsv(240, 63%, 98%)
CMYKcmyk(62.7%, 62.2%, 0%, 2.4%)
CIE-LABlab(48.47, 45.04, -77.62)
CIE-LCHlch(48.47, 89.74, 300.13°)
OKLaboklab(57.43% 0.025 -0.2237)
OKLCHoklch(57.43% 0.225 276.4)
XYZxyz(25.6102, 17.1700, 91.5687)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EF9 #F9F85D
analogous
#5DACF9 #5D5EF9 #AA5DF9
triadic
#5D5EF9 #F95D5E #5EF95D
tetradic
#5D5EF9 #F95DAC #F9F85D #5DF9AA
square
#5D5EF9 #F95DAC #F9F85D #5DF9AA
split-complementary
#5D5EF9 #F9AA5D #ACF95D
monochromatic
#0809D4 #2223F7 #5D5EF9 #9899FB #D3D3FD

Accessibility & contrast

On white

4.74
#5D5EF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5D5EF9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EF9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EF9#FFFFFF#000000##FFFFFF
##5D5EF91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFE
Deuteranopia (green-blind)
#006CF6
Tritanopia (blue-blind)
#0085A3
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d5ef9;
/* rgb */ color: rgb(93, 94, 249);
/* oklch */ color: oklch(57.4% 0.225 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b8cfc',
    500: '#5d5ef9',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ef9;
$custom-light: #9b8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ef9",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 239.615,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.22505,
    "h": 276.4
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#5D5EF9
secondary
#F2F1C0
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5D5EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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