#5E5ACE#5E5ACE

#5E5ACE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.5% C 0.174 H 280.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E5ACE
RGBrgb(94, 90, 206)
HSLhsl(242, 54%, 58%)
HSVhsv(242, 56%, 81%)
CMYKcmyk(54.4%, 56.3%, 0%, 19.2%)
CIE-LABlab(44.44, 33.91, -59.84)
CIE-LCHlch(44.44, 68.78, 299.54°)
OKLaboklab(53.48% 0.0311 -0.1714)
OKLCHoklch(53.48% 0.174 280.3)
XYZxyz(19.4094, 14.1470, 60.0884)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5ACE #CACE5A
analogous
#5A90CE #5E5ACE #985ACE
triadic
#5E5ACE #CE5E5A #5ACE5E
tetradic
#5E5ACE #CE5A90 #CACE5A #5ACE98
square
#5E5ACE #CE5A90 #CACE5A #5ACE98
split-complementary
#5E5ACE #CE985A #90CE5A
monochromatic
#2B2886 #3A36B5 #5E5ACE #8C89DC #BAB8EA

Accessibility & contrast

On white

5.48
#5E5ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5E5ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5ACE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5ACE#FFFFFF#000000##FFFFFF
##5E5ACE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#29758B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e5ace;
/* rgb */ color: rgb(94, 90, 206);
/* oklch */ color: oklch(53.5% 0.174 280.3);
Tailwind
colors: {
  custom: {
    50: '#9589de',
    500: '#5e5ace',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ace;
$custom-light: #9589de;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ace",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 242.069,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.17418,
    "h": 280.3
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#5E5ACE
secondary
#D7D9AB
accent
#DE4AD8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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