#5E5ACA#5E5ACA

#5E5ACA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.169 H 280.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5E5ACA
RGBrgb(94, 90, 202)
HSLhsl(242, 51%, 57%)
HSVhsv(242, 55%, 79%)
CMYKcmyk(53.5%, 55.4%, 0%, 20.8%)
CIE-LABlab(44.17, 32.65, -57.98)
CIE-LCHlch(44.17, 66.54, 299.38°)
OKLaboklab(53.19% 0.031 -0.1659)
OKLCHoklch(53.19% 0.169 280.6)
XYZxyz(18.9296, 13.9551, 57.5618)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5ACA #C6CA5A
analogous
#5A8ECA #5E5ACA #965ACA
triadic
#5E5ACA #CA5E5A #5ACA5E
tetradic
#5E5ACA #CA5A8E #C6CA5A #5ACA96
square
#5E5ACA #CA5A8E #C6CA5A #5ACA96
split-complementary
#5E5ACA #CA965A #8ECA5A
monochromatic
#2C2980 #3C38AF #5E5ACA #8B88D9 #B8B7E8

Accessibility & contrast

On white

5.54
#5E5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5E5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5ACA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5ACA#FFFFFF#000000##FFFFFF
##5E5ACA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#2E7489
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e5aca;
/* rgb */ color: rgb(94, 90, 202);
/* oklch */ color: oklch(53.2% 0.169 280.6);
Tailwind
colors: {
  custom: {
    50: '#9489db',
    500: '#5e5aca',
    950: '#000000',
  },
}
SCSS
$custom: #5e5aca;
$custom-light: #9489db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5aca",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 242.143,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.16878,
    "h": 280.6
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#5E5ACA
secondary
#D5D7A9
accent
#DB4DD6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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