#5E4FC0#5E4FC0

#5E4FC0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.170 H 284.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5E4FC0
RGBrgb(94, 79, 192)
HSLhsl(248, 47%, 53%)
HSVhsv(248, 59%, 75%)
CMYKcmyk(51%, 58.9%, 0%, 24.7%)
CIE-LABlab(40.86, 36.21, -57.53)
CIE-LCHlch(40.86, 67.98, 302.19°)
OKLaboklab(50.52% 0.0428 -0.1647)
OKLCHoklch(50.52% 0.17 284.6)
XYZxyz(16.9237, 11.7765, 51.2403)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FC0 #B1C04F
analogous
#4F78C0 #5E4FC0 #974FC0
triadic
#5E4FC0 #C05E4F #4FC05E
tetradic
#5E4FC0 #C04F78 #B1C04F #4FC097
square
#5E4FC0 #C04F78 #B1C04F #4FC097
split-complementary
#5E4FC0 #C0974F #78C04F
monochromatic
#30276D #44379A #5E4FC0 #877CD0 #B0A9E0

Accessibility & contrast

On white

6.26
#5E4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5E4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FC0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FC0#FFFFFF#000000##FFFFFF
##5E4FC01.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#396980
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4fc0;
/* rgb */ color: rgb(94, 79, 192);
/* oklch */ color: oklch(50.5% 0.170 284.6);
Tailwind
colors: {
  custom: {
    50: '#9381d4',
    500: '#5e4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fc0;
$custom-light: #9381d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fc0",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 247.965,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.17013,
    "h": 284.6
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#5E4FC0
secondary
#C7CE9D
accent
#D751C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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