#5E5ABD#5E5ABD

#5E5ABD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.151 H 281.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5E5ABD
RGBrgb(94, 90, 189)
HSLhsl(242, 43%, 55%)
HSVhsv(242, 52%, 74%)
CMYKcmyk(50.3%, 52.4%, 0%, 25.9%)
CIE-LABlab(43.31, 28.56, -51.83)
CIE-LCHlch(43.31, 59.18, 298.86°)
OKLaboklab(52.27% 0.0305 -0.1478)
OKLCHoklch(52.27% 0.151 281.6)
XYZxyz(17.4548, 13.3652, 49.7942)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5ABD #B9BD5A
analogous
#5A88BD #5E5ABD #8F5ABD
triadic
#5E5ABD #BD5E5A #5ABD5E
tetradic
#5E5ABD #BD5A88 #B9BD5A #5ABD8F
square
#5E5ABD #BD5A88 #B9BD5A #5ABD8F
split-complementary
#5E5ABD #BD8F5A #88BD5A
monochromatic
#2F2D70 #423E9C #5E5ABD #8986CE #B3B1E0

Accessibility & contrast

On white

5.72
#5E5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5E5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5ABD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5ABD#FFFFFF#000000##FFFFFF
##5E5ABD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC0
Deuteranopia (green-blind)
#1E63BB
Tritanopia (blue-blind)
#3A7083
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e5abd;
/* rgb */ color: rgb(94, 90, 189);
/* oklch */ color: oklch(52.3% 0.151 281.6);
Tailwind
colors: {
  custom: {
    50: '#9288d1',
    500: '#5e5abd',
    950: '#000000',
  },
}
SCSS
$custom: #5e5abd;
$custom-light: #9288d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5abd",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 242.424,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.15094,
    "h": 281.6
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#5E5ABD
secondary
#CDCEA5
accent
#D355CE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5E5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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