#5E5BD7#5E5BD7

#5E5BD7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.185 H 279.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5E5BD7
RGBrgb(94, 91, 215)
HSLhsl(241, 61%, 60%)
HSVhsv(241, 58%, 84%)
CMYKcmyk(56.3%, 57.7%, 0%, 15.7%)
CIE-LABlab(45.31, 36.15, -63.58)
CIE-LCHlch(45.31, 73.14, 299.62°)
OKLaboklab(54.32% 0.0301 -0.1824)
OKLCHoklch(54.32% 0.185 279.4)
XYZxyz(20.6191, 14.7668, 66.0406)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BD7 #D4D75B
analogous
#5B96D7 #5E5BD7 #9C5BD7
triadic
#5E5BD7 #D75E5B #5BD75E
tetradic
#5E5BD7 #D75B96 #D4D75B #5BD79C
square
#5E5BD7 #D75B96 #D4D75B #5BD79C
split-complementary
#5E5BD7 #D79C5B #96D75B
monochromatic
#272494 #3430C5 #5E5BD7 #8E8CE3 #BFBDEF

Accessibility & contrast

On white

5.31
#5E5BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5E5BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BD7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BD7#FFFFFF#000000##FFFFFF
##5E5BD71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#1B7890
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e5bd7;
/* rgb */ color: rgb(94, 91, 215);
/* oklch */ color: oklch(54.3% 0.185 279.4);
Tailwind
colors: {
  custom: {
    50: '#9689e4',
    500: '#5e5bd7',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bd7;
$custom-light: #9689e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bd7",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 241.452,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.54322,
    "c": 0.18486,
    "h": 279.4
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#5E5BD7
secondary
#DEDFAF
accent
#E444E0
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5E5BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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