#5E4BD7#5E4BD7

#5E4BD7 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.7% C 0.205 H 282.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5E4BD7
RGBrgb(94, 75, 215)
HSLhsl(248, 64%, 57%)
HSVhsv(248, 65%, 84%)
CMYKcmyk(56.3%, 65.1%, 0%, 15.7%)
CIE-LABlab(41.72, 45.59, -69.44)
CIE-LCHlch(41.72, 83.06, 303.29°)
OKLaboklab(51.69% 0.0451 -0.1997)
OKLCHoklch(51.69% 0.205 282.7)
XYZxyz(19.3941, 12.3169, 65.6322)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BD7 #C4D74B
analogous
#4B7ED7 #5E4BD7 #A44BD7
triadic
#5E4BD7 #D75E4B #4BD75E
tetradic
#5E4BD7 #D74B7E #C4D74B #4BD7A4
square
#5E4BD7 #D74B7E #C4D74B #4BD7A4
split-complementary
#5E4BD7 #D7A44B #7ED74B
monochromatic
#2D1E89 #3D2ABB #5E4BD7 #8B7DE2 #B8AFED

Accessibility & contrast

On white

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

On black

3.46
#5E4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E4BD7#FFFFFF#000000##FFFFFF
##5E4BD71.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#1F6E8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4bd7;
/* rgb */ color: rgb(94, 75, 215);
/* oklch */ color: oklch(51.7% 0.205 282.7);
Tailwind
colors: {
  custom: {
    50: '#977fe4',
    500: '#5e4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bd7;
$custom-light: #977fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bd7",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 248.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.20469,
    "h": 282.7
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#5E4BD7
secondary
#D4DBA2
accent
#E741D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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