#5E5EC0#5E5EC0

#5E5EC0 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.150 H 280.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5E5EC0
RGBrgb(94, 94, 192)
HSLhsl(240, 44%, 56%)
HSVhsv(240, 51%, 75%)
CMYKcmyk(51%, 51%, 0%, 24.7%)
CIE-LABlab(44.50, 27.03, -51.65)
CIE-LCHlch(44.50, 58.30, 297.62°)
OKLaboklab(53.23% 0.0261 -0.1473)
OKLCHoklch(53.23% 0.15 280)
XYZxyz(18.1303, 14.1898, 51.6425)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EC0 #C0C05E
analogous
#5E8FC0 #5E5EC0 #8F5EC0
triadic
#5E5EC0 #C05E5E #5EC05E
tetradic
#5E5EC0 #C05E8F #C0C05E #5EC08F
square
#5E5EC0 #C05E8F #C0C05E #5EC08F
split-complementary
#5E5EC0 #C08F5E #8FC05E
monochromatic
#2E2E76 #3F3FA2 #5E5EC0 #8A8AD1 #B6B6E2

Accessibility & contrast

On white

5.47
#5E5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5E5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5EC0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5EC0#FFFFFF#000000##FFFFFF
##5E5EC01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC3
Deuteranopia (green-blind)
#2466BE
Tritanopia (blue-blind)
#377486
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e5ec0;
/* rgb */ color: rgb(94, 94, 192);
/* oklch */ color: oklch(53.2% 0.150 280.0);
Tailwind
colors: {
  custom: {
    50: '#928bd4',
    500: '#5e5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ec0;
$custom-light: #928bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ec0",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 240,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.14958,
    "h": 280
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#5E5EC0
secondary
#D1D1A9
accent
#D354D3
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #5E5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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