#5E5EF7#5E5EF7

#5E5EF7 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.3% C 0.222 H 276.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5E5EF7
RGBrgb(94, 94, 247)
HSLhsl(240, 91%, 67%)
HSVhsv(240, 62%, 97%)
CMYKcmyk(61.9%, 61.9%, 0%, 3.1%)
CIE-LABlab(48.38, 44.55, -76.65)
CIE-LCHlch(48.38, 88.65, 300.17°)
OKLaboklab(57.33% 0.0262 -0.2208)
OKLCHoklch(57.33% 0.222 276.8)
XYZxyz(25.4018, 17.0984, 89.9394)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EF7 #F7F75E
analogous
#5EABF7 #5E5EF7 #AB5EF7
triadic
#5E5EF7 #F75E5E #5EF75E
tetradic
#5E5EF7 #F75EAB #F7F75E #5EF7AB
square
#5E5EF7 #F75EAB #F7F75E #5EF7AB
split-complementary
#5E5EF7 #F7AB5E #ABF75E
monochromatic
#0A0AD0 #2424F4 #5E5EF7 #9898FA #D3D3FD

Accessibility & contrast

On white

4.75
#5E5EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5E5EF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5EF7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5EF7#FFFFFF#000000##FFFFFF
##5E5EF71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#006CF4
Tritanopia (blue-blind)
#0085A2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e5ef7;
/* rgb */ color: rgb(94, 94, 247);
/* oklch */ color: oklch(57.3% 0.222 276.8);
Tailwind
colors: {
  custom: {
    50: '#9b8cfb',
    500: '#5e5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ef7;
$custom-light: #9b8cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ef7",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 240,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57328,
    "c": 0.22233,
    "h": 276.8
  },
  "luminance": 0.171
}

Semantic roles & 50–950 ramp

primary
#5E5EF7
secondary
#F1F1C0
accent
#E600E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5E5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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