#5E4BD6#5E4BD6

#5E4BD6 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.6% C 0.203 H 282.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5E4BD6
RGBrgb(94, 75, 214)
HSLhsl(248, 63%, 57%)
HSVhsv(248, 65%, 84%)
CMYKcmyk(56.1%, 65%, 0%, 16.1%)
CIE-LABlab(41.64, 45.28, -68.99)
CIE-LCHlch(41.64, 82.53, 303.28°)
OKLaboklab(51.61% 0.0452 -0.1984)
OKLCHoklch(51.61% 0.203 282.8)
XYZxyz(19.2660, 12.2657, 64.9576)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BD6 #C3D64B
analogous
#4B7ED6 #5E4BD6 #A34BD6
triadic
#5E4BD6 #D65E4B #4BD65E
tetradic
#5E4BD6 #D64B7E #C3D64B #4BD6A3
square
#5E4BD6 #D64B7E #C3D64B #4BD6A3
split-complementary
#5E4BD6 #D6A34B #7ED64B
monochromatic
#2D1F88 #3E2ABA #5E4BD6 #8B7DE1 #B7AFED

Accessibility & contrast

On white

6.08
#5E4BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5E4BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BD6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BD6#FFFFFF#000000##FFFFFF
##5E4BD61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#216E8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4bd6;
/* rgb */ color: rgb(94, 75, 214);
/* oklch */ color: oklch(51.6% 0.203 282.8);
Tailwind
colors: {
  custom: {
    50: '#977ee4',
    500: '#5e4bd6',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bd6;
$custom-light: #977ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bd6",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 248.201,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.20345,
    "h": 282.8
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#5E4BD6
secondary
#D3DBA2
accent
#E642D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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