#5E4FD7#5E4FD7

#5E4FD7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.3% C 0.200 H 282.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5E4FD7
RGBrgb(94, 79, 215)
HSLhsl(247, 63%, 58%)
HSVhsv(247, 63%, 84%)
CMYKcmyk(56.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(42.58, 43.28, -68.03)
CIE-LCHlch(42.58, 80.63, 302.47°)
OKLaboklab(52.31% 0.0415 -0.1955)
OKLCHoklch(52.31% 0.2 282)
XYZxyz(19.6740, 12.8767, 65.7255)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FD7 #C8D74F
analogous
#4F84D7 #5E4FD7 #A24FD7
triadic
#5E4FD7 #D75E4F #4FD75E
tetradic
#5E4FD7 #D74F84 #C8D74F #4FD7A2
square
#5E4FD7 #D74F84 #C8D74F #4FD7A2
split-complementary
#5E4FD7 #D7A24F #84D74F
monochromatic
#2C208C #3B2BBE #5E4FD7 #8C81E2 #B9B3EE

Accessibility & contrast

On white

5.87
#5E4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5E4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FD7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FD7#FFFFFF#000000##FFFFFF
##5E4FD71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#1E718C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4fd7;
/* rgb */ color: rgb(94, 79, 215);
/* oklch */ color: oklch(52.3% 0.200 282.0);
Tailwind
colors: {
  custom: {
    50: '#9781e4',
    500: '#5e4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fd7;
$custom-light: #9781e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fd7",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 246.618,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.19989,
    "h": 282
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#5E4FD7
secondary
#D6DCA6
accent
#E642D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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