#5E5BCD#5E5BCD

#5E5BCD is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.172 H 280.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5E5BCD
RGBrgb(94, 91, 205)
HSLhsl(242, 53%, 58%)
HSVhsv(242, 56%, 80%)
CMYKcmyk(54.1%, 55.6%, 0%, 19.6%)
CIE-LABlab(44.62, 32.98, -58.98)
CIE-LCHlch(44.62, 67.58, 299.21°)
OKLaboklab(53.58% 0.03 -0.1689)
OKLCHoklch(53.58% 0.172 280.1)
XYZxyz(19.3732, 14.2684, 59.4790)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BCD #CACD5B
analogous
#5B91CD #5E5BCD #975BCD
triadic
#5E5BCD #CD5E5B #5BCD5E
tetradic
#5E5BCD #CD5B91 #CACD5B #5BCD97
square
#5E5BCD #CD5B91 #CACD5B #5BCD97
split-complementary
#5E5BCD #CD975B #91CD5B
monochromatic
#2B2985 #3A37B4 #5E5BCD #8C8ADB #BAB9EA

Accessibility & contrast

On white

5.45
#5E5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5E5BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BCD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BCD#FFFFFF#000000##FFFFFF
##5E5BCD1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076ED1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#2A758B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e5bcd;
/* rgb */ color: rgb(94, 91, 205);
/* oklch */ color: oklch(53.6% 0.172 280.1);
Tailwind
colors: {
  custom: {
    50: '#9489dd',
    500: '#5e5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bcd;
$custom-light: #9489dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bcd",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 241.579,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.17151,
    "h": 280.1
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#5E5BCD
secondary
#D7D9AB
accent
#DD4BD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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