#5E5CD4#5E5CD4

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

Color values

HEX#5E5CD4
RGBrgb(94, 92, 212)
HSLhsl(241, 58%, 60%)
HSVhsv(241, 57%, 83%)
CMYKcmyk(55.7%, 56.6%, 0%, 16.9%)
CIE-LABlab(45.34, 34.59, -61.83)
CIE-LCHlch(45.34, 70.85, 299.23°)
OKLaboklab(54.28% 0.0291 -0.1772)
OKLCHoklch(54.28% 0.18 279.3)
XYZxyz(20.3232, 14.7861, 64.0577)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CD4 #D2D45C
analogous
#5C96D4 #5E5CD4 #9A5CD4
triadic
#5E5CD4 #D45E5C #5CD45E
tetradic
#5E5CD4 #D45C96 #D2D45C #5CD49A
square
#5E5CD4 #D45C96 #D2D45C #5CD49A
split-complementary
#5E5CD4 #D49A5C #96D45C
monochromatic
#282690 #3533C0 #5E5CD4 #8E8CE1 #BEBDEE

Accessibility & contrast

On white

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

On black

3.96
#5E5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E5CD4#FFFFFF#000000##FFFFFF
##5E5CD41.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#20788F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e5cd4;
/* rgb */ color: rgb(94, 92, 212);
/* oklch */ color: oklch(54.3% 0.180 279.3);
Tailwind
colors: {
  custom: {
    50: '#958ae2',
    500: '#5e5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cd4;
$custom-light: #958ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cd4",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 241,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54275,
    "c": 0.17959,
    "h": 279.3
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#5E5CD4
secondary
#DCDDAF
accent
#E146DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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