#5E5ABE#5E5ABE

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

Color values

HEX#5E5ABE
RGBrgb(94, 90, 190)
HSLhsl(242, 43%, 55%)
HSVhsv(242, 53%, 75%)
CMYKcmyk(50.5%, 52.6%, 0%, 25.5%)
CIE-LABlab(43.37, 28.88, -52.31)
CIE-LCHlch(43.37, 59.75, 298.90°)
OKLaboklab(52.34% 0.0305 -0.1492)
OKLCHoklch(52.34% 0.152 281.6)
XYZxyz(17.5637, 13.4088, 50.3679)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5ABE #BABE5A
analogous
#5A88BE #5E5ABE #905ABE
triadic
#5E5ABE #BE5E5A #5ABE5E
tetradic
#5E5ABE #BE5A88 #BABE5A #5ABE90
square
#5E5ABE #BE5A88 #BABE5A #5ABE90
split-complementary
#5E5ABE #BE905A #88BE5A
monochromatic
#2F2D71 #423E9D #5E5ABE #8986CF #B4B2E1

Accessibility & contrast

On white

5.70
#5E5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5E5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5ABE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5ABE#FFFFFF#000000##FFFFFF
##5E5ABE1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#397083
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e5abe;
/* rgb */ color: rgb(94, 90, 190);
/* oklch */ color: oklch(52.3% 0.152 281.6);
Tailwind
colors: {
  custom: {
    50: '#9288d2',
    500: '#5e5abe',
    950: '#000000',
  },
}
SCSS
$custom: #5e5abe;
$custom-light: #9288d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5abe",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 242.4,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.15234,
    "h": 281.6
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#5E5ABE
secondary
#CDCFA5
accent
#D355CE
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5E5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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