#5E4ECF#5E4ECF

#5E4ECF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.5% C 0.191 H 283.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5E4ECF
RGBrgb(94, 78, 207)
HSLhsl(247, 57%, 56%)
HSVhsv(247, 62%, 81%)
CMYKcmyk(54.6%, 62.3%, 0%, 18.8%)
CIE-LABlab(41.74, 41.41, -64.80)
CIE-LCHlch(41.74, 76.90, 302.58°)
OKLaboklab(51.51% 0.0431 -0.186)
OKLCHoklch(51.51% 0.191 283)
XYZxyz(18.5995, 12.3323, 60.4197)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ECF #BFCF4E
analogous
#4E7ECF #5E4ECF #9E4ECF
triadic
#5E4ECF #CF5E4E #4ECF5E
tetradic
#5E4ECF #CF4E7E #BFCF4E #4ECF9E
square
#5E4ECF #CF4E7E #BFCF4E #4ECF9E
split-complementary
#5E4ECF #CF9E4E #7ECF4E
monochromatic
#2E2380 #4030B0 #5E4ECF #8A7EDC #B6AEE9

Accessibility & contrast

On white

6.06
#5E4ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5E4ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ECF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ECF#FFFFFF#000000##FFFFFF
##5E4ECF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#2A6D87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4ecf;
/* rgb */ color: rgb(94, 78, 207);
/* oklch */ color: oklch(51.5% 0.191 283.0);
Tailwind
colors: {
  custom: {
    50: '#9580df',
    500: '#5e4ecf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ecf;
$custom-light: #9580df;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ecf",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 247.442,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.19096,
    "h": 283
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#5E4ECF
secondary
#D0D7A2
accent
#E147CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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