#5E5ABA#5E5ABA

#5E5ABA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.147 H 281.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5E5ABA
RGBrgb(94, 90, 186)
HSLhsl(243, 41%, 54%)
HSVhsv(243, 52%, 73%)
CMYKcmyk(49.5%, 51.6%, 0%, 27.1%)
CIE-LABlab(43.12, 27.63, -50.39)
CIE-LCHlch(43.12, 57.47, 298.73°)
OKLaboklab(52.07% 0.0303 -0.1436)
OKLCHoklch(52.07% 0.147 281.9)
XYZxyz(17.1325, 13.2363, 48.0970)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5ABA #B6BA5A
analogous
#5A86BA #5E5ABA #8E5ABA
triadic
#5E5ABA #BA5E5A #5ABA5E
tetradic
#5E5ABA #BA5A86 #B6BA5A #5ABA8E
square
#5E5ABA #BA5A86 #B6BA5A #5ABA8E
split-complementary
#5E5ABA #BA8E5A #86BA5A
monochromatic
#302D6C #433F97 #5E5ABA #8885CC #B2B0DE

Accessibility & contrast

On white

5.76
#5E5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5E5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5ABA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5ABA#FFFFFF#000000##FFFFFF
##5E5ABA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#2362B8
Tritanopia (blue-blind)
#3C6F81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e5aba;
/* rgb */ color: rgb(94, 90, 186);
/* oklch */ color: oklch(52.1% 0.147 281.9);
Tailwind
colors: {
  custom: {
    50: '#9288cf',
    500: '#5e5aba',
    950: '#000000',
  },
}
SCSS
$custom: #5e5aba;
$custom-light: #9288cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5aba",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 242.5,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.14675,
    "h": 281.9
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#5E5ABA
secondary
#CBCCA3
accent
#D157CC
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5E5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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