#5E5DF5#5E5DF5

#5E5DF5 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.0% C 0.221 H 277.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5E5DF5
RGBrgb(94, 93, 245)
HSLhsl(240, 88%, 66%)
HSVhsv(240, 62%, 96%)
CMYKcmyk(61.6%, 62%, 0%, 3.9%)
CIE-LABlab(48.01, 44.50, -76.15)
CIE-LCHlch(48.01, 88.20, 300.30°)
OKLaboklab(57% 0.0272 -0.2193)
OKLCHoklch(57% 0.221 277.1)
XYZxyz(25.0065, 16.7990, 88.2932)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DF5 #F4F55D
analogous
#5DA8F5 #5E5DF5 #AA5DF5
triadic
#5E5DF5 #F55E5D #5DF55E
tetradic
#5E5DF5 #F55DA8 #F4F55D #5DF5AA
square
#5E5DF5 #F55DA8 #F4F55D #5DF5AA
split-complementary
#5E5DF5 #F5AA5D #A8F55D
monochromatic
#0E0DCB #2523F1 #5E5DF5 #9797F9 #D1D0FC

Accessibility & contrast

On white

4.82
#5E5DF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5E5DF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DF5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DF5#FFFFFF#000000##FFFFFF
##5E5DF51.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5df5;
/* rgb */ color: rgb(94, 93, 245);
/* oklch */ color: oklch(57.0% 0.221 277.1);
Tailwind
colors: {
  custom: {
    50: '#9b8bfa',
    500: '#5e5df5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5df5;
$custom-light: #9b8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5df5",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 240.395,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.22099,
    "h": 277.1
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#5E5DF5
secondary
#EFF0BE
accent
#E501E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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