#5E5AC8#5E5AC8

#5E5AC8 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.166 H 280.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5E5AC8
RGBrgb(94, 90, 200)
HSLhsl(242, 50%, 57%)
HSVhsv(242, 55%, 78%)
CMYKcmyk(53%, 55%, 0%, 21.6%)
CIE-LABlab(44.03, 32.02, -57.04)
CIE-LCHlch(44.03, 65.41, 299.30°)
OKLaboklab(53.04% 0.031 -0.1632)
OKLCHoklch(53.04% 0.166 280.7)
XYZxyz(18.6944, 13.8610, 56.3228)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AC8 #C4C85A
analogous
#5A8DC8 #5E5AC8 #955AC8
triadic
#5E5AC8 #C85E5A #5AC85E
tetradic
#5E5AC8 #C85A8D #C4C85A #5AC895
square
#5E5AC8 #C85A8D #C4C85A #5AC895
split-complementary
#5E5AC8 #C8955A #8DC85A
monochromatic
#2D2A7E #3D39AC #5E5AC8 #8B88D7 #B8B6E7

Accessibility & contrast

On white

5.57
#5E5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5E5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AC8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AC8#FFFFFF#000000##FFFFFF
##5E5AC81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136CCC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#307388
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e5ac8;
/* rgb */ color: rgb(94, 90, 200);
/* oklch */ color: oklch(53.0% 0.166 280.7);
Tailwind
colors: {
  custom: {
    50: '#9489d9',
    500: '#5e5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ac8;
$custom-light: #9489d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ac8",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 242.182,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53042,
    "c": 0.16607,
    "h": 280.7
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#5E5AC8
secondary
#D4D5A8
accent
#DA4ED4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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