#5E5BC7#5E5BC7

#5E5BC7 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.163 H 280.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5E5BC7
RGBrgb(94, 91, 199)
HSLhsl(242, 49%, 57%)
HSVhsv(242, 54%, 78%)
CMYKcmyk(52.8%, 54.3%, 0%, 22%)
CIE-LABlab(44.21, 31.09, -56.18)
CIE-LCHlch(44.21, 64.21, 298.96°)
OKLaboklab(53.15% 0.0298 -0.1606)
OKLCHoklch(53.15% 0.163 280.5)
XYZxyz(18.6628, 13.9843, 55.7376)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BC7 #C4C75B
analogous
#5B8EC7 #5E5BC7 #945BC7
triadic
#5E5BC7 #C75E5B #5BC75E
tetradic
#5E5BC7 #C75B8E #C4C75B #5BC794
square
#5E5BC7 #C75B8E #C4C75B #5BC794
split-complementary
#5E5BC7 #C7945B #8EC75B
monochromatic
#2D2B7D #3D3AAB #5E5BC7 #8B89D7 #B8B6E6

Accessibility & contrast

On white

5.53
#5E5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5E5BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BC7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BC7#FFFFFF#000000##FFFFFF
##5E5BC71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#0365C5
Tritanopia (blue-blind)
#317388
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e5bc7;
/* rgb */ color: rgb(94, 91, 199);
/* oklch */ color: oklch(53.2% 0.163 280.5);
Tailwind
colors: {
  custom: {
    50: '#9389d9',
    500: '#5e5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bc7;
$custom-light: #9389d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bc7",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 241.667,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.16337,
    "h": 280.5
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#5E5BC7
secondary
#D4D5A9
accent
#D94FD5
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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