#5E5DF7#5E5DF7

#5E5DF7 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.2% C 0.223 H 276.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5E5DF7
RGBrgb(94, 93, 247)
HSLhsl(240, 91%, 67%)
HSVhsv(240, 62%, 97%)
CMYKcmyk(61.9%, 62.3%, 0%, 3.1%)
CIE-LABlab(48.16, 45.14, -77.01)
CIE-LCHlch(48.16, 89.26, 300.37°)
OKLaboklab(57.17% 0.027 -0.2218)
OKLCHoklch(57.17% 0.223 276.9)
XYZxyz(25.3135, 16.9218, 89.9099)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DF7 #F6F75D
analogous
#5DA9F7 #5E5DF7 #AB5DF7
triadic
#5E5DF7 #F75E5D #5DF75E
tetradic
#5E5DF7 #F75DA9 #F6F75D #5DF7AB
square
#5E5DF7 #F75DA9 #F6F75D #5DF7AB
split-complementary
#5E5DF7 #F7AB5D #A9F75D
monochromatic
#0C0ACF #2423F4 #5E5DF7 #9897FA #D2D2FD

Accessibility & contrast

On white

4.79
#5E5DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5E5DF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DF7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DF7#FFFFFF#000000##FFFFFF
##5E5DF71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006CF4
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e5df7;
/* rgb */ color: rgb(94, 93, 247);
/* oklch */ color: oklch(57.2% 0.223 276.9);
Tailwind
colors: {
  custom: {
    50: '#9b8bfb',
    500: '#5e5df7',
    950: '#000000',
  },
}
SCSS
$custom: #5e5df7;
$custom-light: #9b8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5df7",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 240.39,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.22349,
    "h": 276.9
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#5E5DF7
secondary
#F0F1BF
accent
#E600E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5E5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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