#5E5DF2#5E5DF2

#5E5DF2 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.217 H 277.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E5DF2
RGBrgb(94, 93, 242)
HSLhsl(240, 85%, 66%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.2%, 61.6%, 0%, 5.1%)
CIE-LABlab(47.77, 43.55, -74.85)
CIE-LCHlch(47.77, 86.59, 300.19°)
OKLaboklab(56.76% 0.0274 -0.2155)
OKLCHoklch(56.76% 0.217 277.2)
XYZxyz(24.5523, 16.6173, 85.9008)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DF2 #F1F25D
analogous
#5DA6F2 #5E5DF2 #A95DF2
triadic
#5E5DF2 #F25E5D #5DF25E
tetradic
#5E5DF2 #F25DA6 #F1F25D #5DF2A9
square
#5E5DF2 #F25DA6 #F1F25D #5DF2A9
split-complementary
#5E5DF2 #F2A95D #A6F25D
monochromatic
#1110C5 #2624ED #5E5DF2 #9696F7 #CFCEFB

Accessibility & contrast

On white

4.86
#5E5DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5E5DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DF2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DF2#FFFFFF#000000##FFFFFF
##5E5DF21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5df2;
/* rgb */ color: rgb(94, 93, 242);
/* oklch */ color: oklch(56.8% 0.217 277.2);
Tailwind
colors: {
  custom: {
    50: '#9a8bf7',
    500: '#5e5df2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5df2;
$custom-light: #9a8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5df2",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 240.403,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56762,
    "c": 0.21723,
    "h": 277.2
  },
  "luminance": 0.16619
}

Semantic roles & 50–950 ramp

primary
#5E5DF2
secondary
#EEEEBD
accent
#E204E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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