#5E5ECD#5E5ECD

#5E5ECD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.168 H 279.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5E5ECD
RGBrgb(94, 94, 205)
HSLhsl(240, 53%, 59%)
HSVhsv(240, 54%, 80%)
CMYKcmyk(54.1%, 54.1%, 0%, 19.6%)
CIE-LABlab(45.35, 31.15, -57.80)
CIE-LCHlch(45.35, 65.66, 298.32°)
OKLaboklab(54.13% 0.0269 -0.1654)
OKLCHoklch(54.13% 0.168 279.2)
XYZxyz(19.6348, 14.7916, 59.5662)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5ECD #CDCD5E
analogous
#5E95CD #5E5ECD #955ECD
triadic
#5E5ECD #CD5E5E #5ECD5E
tetradic
#5E5ECD #CD5E95 #CDCD5E #5ECD95
square
#5E5ECD #CD5E95 #CDCD5E #5ECD95
split-complementary
#5E5ECD #CD955E #95CD5E
monochromatic
#2A2A87 #3838B5 #5E5ECD #8D8DDC #BBBBEA

Accessibility & contrast

On white

5.30
#5E5ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E5ECD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5ECD#FFFFFF#000000##FFFFFF
##5E5ECD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1970D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#2A778C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e5ecd;
/* rgb */ color: rgb(94, 94, 205);
/* oklch */ color: oklch(54.1% 0.168 279.2);
Tailwind
colors: {
  custom: {
    50: '#948bdd',
    500: '#5e5ecd',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ecd;
$custom-light: #948bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ecd",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54128,
    "c": 0.16753,
    "h": 279.2
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#5E5ECD
secondary
#D9D9AD
accent
#DC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5E5ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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