#5E5ABC#5E5ABC

#5E5ABC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.150 H 281.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5E5ABC
RGBrgb(94, 90, 188)
HSLhsl(242, 42%, 55%)
HSVhsv(242, 52%, 74%)
CMYKcmyk(50%, 52.1%, 0%, 26.3%)
CIE-LABlab(43.24, 28.25, -51.35)
CIE-LCHlch(43.24, 58.61, 298.82°)
OKLaboklab(52.2% 0.0304 -0.1464)
OKLCHoklch(52.2% 0.15 281.7)
XYZxyz(17.3466, 13.3219, 49.2246)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5ABC #B8BC5A
analogous
#5A87BC #5E5ABC #8F5ABC
triadic
#5E5ABC #BC5E5A #5ABC5E
tetradic
#5E5ABC #BC5A87 #B8BC5A #5ABC8F
square
#5E5ABC #BC5A87 #B8BC5A #5ABC8F
split-complementary
#5E5ABC #BC8F5A #87BC5A
monochromatic
#302D6F #423F9A #5E5ABC #8886CE #B3B1DF

Accessibility & contrast

On white

5.73
#5E5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5E5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5ABC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5ABC#FFFFFF#000000##FFFFFF
##5E5ABC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286ABF
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#3A7082
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e5abc;
/* rgb */ color: rgb(94, 90, 188);
/* oklch */ color: oklch(52.2% 0.150 281.7);
Tailwind
colors: {
  custom: {
    50: '#9288d1',
    500: '#5e5abc',
    950: '#000000',
  },
}
SCSS
$custom: #5e5abc;
$custom-light: #9288d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5abc",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 242.449,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.14955,
    "h": 281.7
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#5E5ABC
secondary
#CCCEA4
accent
#D256CD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5E5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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