#5E5D95#5E5D95

#5E5D95 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.4% C 0.088 H 283.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5E5D95
RGBrgb(94, 93, 149)
HSLhsl(241, 23%, 47%)
HSVhsv(241, 38%, 58%)
CMYKcmyk(36.9%, 37.6%, 0%, 41.6%)
CIE-LABlab(41.81, 14.58, -30.59)
CIE-LCHlch(41.81, 33.89, 295.49°)
OKLaboklab(50.4% 0.0207 -0.0857)
OKLCHoklch(50.4% 0.088 283.6)
XYZxyz(13.9538, 12.3779, 30.0819)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5D95 #94955D
analogous
#5D7895 #5E5D95 #7A5D95
triadic
#5E5D95 #955E5D #5D955E
tetradic
#5E5D95 #955D78 #94955D #5D957A
square
#5E5D95 #955D78 #94955D #5D957A
split-complementary
#5E5D95 #957A5D #78955D
monochromatic
#2E2E4A #46456F #5E5D95 #8180B0 #A6A5C7

Accessibility & contrast

On white

6.04
#5E5D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5E5D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5D95
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5D95#FFFFFF#000000##FFFFFF
##5E5D951.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6497
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#4F6872
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e5d95;
/* rgb */ color: rgb(94, 93, 149);
/* oklch */ color: oklch(50.4% 0.088 283.6);
Tailwind
colors: {
  custom: {
    50: '#8e8ab4',
    500: '#5e5d95',
    950: '#000000',
  },
}
SCSS
$custom: #5e5d95;
$custom-light: #8e8ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5d95",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 241.071,
    "s": 23.14,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.08814,
    "h": 283.6
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#5E5D95
secondary
#B5B599
accent
#C068BE
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #5E5D95

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

Preview Lab → · Contrast checker → · Palette generator →

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