#5E4FC7#5E4FC7

#5E4FC7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.179 H 283.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5E4FC7
RGBrgb(94, 79, 199)
HSLhsl(248, 52%, 55%)
HSVhsv(248, 60%, 78%)
CMYKcmyk(52.8%, 60.3%, 0%, 22%)
CIE-LABlab(41.37, 38.36, -60.78)
CIE-LCHlch(41.37, 71.87, 302.26°)
OKLaboklab(51.05% 0.0425 -0.1742)
OKLCHoklch(51.05% 0.179 283.7)
XYZxyz(17.7178, 12.0942, 55.4226)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FC7 #B8C74F
analogous
#4F7CC7 #5E4FC7 #9A4FC7
triadic
#5E4FC7 #C75E4F #4FC75E
tetradic
#5E4FC7 #C74F7C #B8C74F #4FC79A
square
#5E4FC7 #C74F7C #B8C74F #4FC79A
split-complementary
#5E4FC7 #C79A4F #7CC74F
monochromatic
#302676 #4234A4 #5E4FC7 #887DD6 #B3ACE5

Accessibility & contrast

On white

6.14
#5E4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FC7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FC7#FFFFFF#000000##FFFFFF
##5E4FC71.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#326B83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4fc7;
/* rgb */ color: rgb(94, 79, 199);
/* oklch */ color: oklch(51.0% 0.179 283.7);
Tailwind
colors: {
  custom: {
    50: '#9481d9',
    500: '#5e4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fc7;
$custom-light: #9481d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fc7",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 247.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51048,
    "c": 0.17934,
    "h": 283.7
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#5E4FC7
secondary
#CCD2A0
accent
#DB4DC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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