#5E5CF7#5E5CF7

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

Color values

HEX#5E5CF7
RGBrgb(94, 92, 247)
HSLhsl(241, 91%, 66%)
HSVhsv(241, 63%, 97%)
CMYKcmyk(61.9%, 62.8%, 0%, 3.1%)
CIE-LABlab(47.94, 45.72, -77.37)
CIE-LCHlch(47.94, 89.87, 300.58°)
OKLaboklab(57% 0.0278 -0.2229)
OKLCHoklch(57% 0.225 277.1)
XYZxyz(25.2263, 16.7474, 89.8809)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CF7 #F5F75C
analogous
#5CA8F7 #5E5CF7 #AC5CF7
triadic
#5E5CF7 #F75E5C #5CF75E
tetradic
#5E5CF7 #F75CA8 #F5F75C #5CF7AC
square
#5E5CF7 #F75CA8 #F5F75C #5CF7AC
split-complementary
#5E5CF7 #F7AC5C #A8F75C
monochromatic
#0D0ACE #2422F4 #5E5CF7 #9896FA #D1D1FD

Accessibility & contrast

On white

4.83
#5E5CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5E5CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CF7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CF7#FFFFFF#000000##FFFFFF
##5E5CF71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FC
Deuteranopia (green-blind)
#006BF4
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e5cf7;
/* rgb */ color: rgb(94, 92, 247);
/* oklch */ color: oklch(57.0% 0.225 277.1);
Tailwind
colors: {
  custom: {
    50: '#9b8bfb',
    500: '#5e5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cf7;
$custom-light: #9b8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cf7",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 240.774,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.22464,
    "h": 277.1
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#5E5CF7
secondary
#F0F1BE
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5E5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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