#5E4CDB#5E4CDB

#5E4CDB is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.2% C 0.208 H 282.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5E4CDB
RGBrgb(94, 76, 219)
HSLhsl(248, 67%, 58%)
HSVhsv(248, 65%, 86%)
CMYKcmyk(57.1%, 65.3%, 0%, 14.1%)
CIE-LABlab(42.25, 46.24, -70.86)
CIE-LCHlch(42.25, 84.61, 303.13°)
OKLaboklab(52.17% 0.0437 -0.2038)
OKLCHoklch(52.17% 0.208 282.1)
XYZxyz(19.9827, 12.6617, 68.3951)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CDB #C9DB4C
analogous
#4C82DB #5E4CDB #A54CDB
triadic
#5E4CDB #DB5E4C #4CDB5E
tetradic
#5E4CDB #DB4C82 #C9DB4C #4CDBA5
square
#5E4CDB #DB4C82 #C9DB4C #4CDBA5
split-complementary
#5E4CDB #DBA54C #82DB4C
monochromatic
#2B1D90 #3B27C3 #5E4CDB #8C7FE5 #BAB2EF

Accessibility & contrast

On white

5.94
#5E4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5E4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CDB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CDB#FFFFFF#000000##FFFFFF
##5E4CDB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#17708D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4cdb;
/* rgb */ color: rgb(94, 76, 219);
/* oklch */ color: oklch(52.2% 0.208 282.1);
Tailwind
colors: {
  custom: {
    50: '#977fe7',
    500: '#5e4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cdb;
$custom-light: #977fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cdb",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 247.552,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.20847,
    "h": 282.1
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#5E4CDB
secondary
#D7DEA5
accent
#E93ED4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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