#5E5CD5#5E5CD5

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

Color values

HEX#5E5CD5
RGBrgb(94, 92, 213)
HSLhsl(241, 59%, 60%)
HSVhsv(241, 57%, 84%)
CMYKcmyk(55.9%, 56.8%, 0%, 16.5%)
CIE-LABlab(45.41, 34.91, -62.28)
CIE-LCHlch(45.41, 71.40, 299.27°)
OKLaboklab(54.35% 0.0291 -0.1786)
OKLCHoklch(54.35% 0.181 279.3)
XYZxyz(20.4497, 14.8367, 64.7241)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CD5 #D3D55C
analogous
#5C96D5 #5E5CD5 #9B5CD5
triadic
#5E5CD5 #D55E5C #5CD55E
tetradic
#5E5CD5 #D55C96 #D3D55C #5CD59B
square
#5E5CD5 #D55C96 #D3D55C #5CD59B
split-complementary
#5E5CD5 #D59B5C #96D55C
monochromatic
#272591 #3432C2 #5E5CD5 #8E8DE2 #BEBDEE

Accessibility & contrast

On white

5.29
#5E5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5E5CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CD5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CD5#FFFFFF#000000##FFFFFF
##5E5CD51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#1F788F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e5cd5;
/* rgb */ color: rgb(94, 92, 213);
/* oklch */ color: oklch(54.3% 0.181 279.3);
Tailwind
colors: {
  custom: {
    50: '#958ae3',
    500: '#5e5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cd5;
$custom-light: #958ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cd5",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 240.992,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.18092,
    "h": 279.3
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#5E5CD5
secondary
#DDDEAF
accent
#E246E0
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #5E5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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