#5B5992#5B5992

#5B5992 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.1% C 0.090 H 284.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5B5992
RGBrgb(91, 89, 146)
HSLhsl(242, 24%, 46%)
HSVhsv(242, 39%, 57%)
CMYKcmyk(37.7%, 39%, 0%, 42.7%)
CIE-LABlab(40.32, 15.35, -31.15)
CIE-LCHlch(40.32, 34.72, 296.24°)
OKLaboklab(49.14% 0.0221 -0.0874)
OKLCHoklch(49.14% 0.09 284.2)
XYZxyz(13.0736, 11.4438, 28.7086)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5992 #909259
analogous
#597392 #5B5992 #775992
triadic
#5B5992 #925B59 #59925B
tetradic
#5B5992 #925973 #909259 #599277
square
#5B5992 #925973 #909259 #599277
split-complementary
#5B5992 #927759 #739259
monochromatic
#2C2B46 #43426C #5B5992 #7C7AAE #A1A0C5

Accessibility & contrast

On white

6.39
#5B5992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5B5992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5992
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5992#FFFFFF#000000##FFFFFF
##5B59921.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476194
Deuteranopia (green-blind)
#455D91
Tritanopia (blue-blind)
#4C646E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b5992;
/* rgb */ color: rgb(91, 89, 146);
/* oklch */ color: oklch(49.1% 0.090 284.2);
Tailwind
colors: {
  custom: {
    50: '#8c87b2',
    500: '#5b5992',
    950: '#000000',
  },
}
SCSS
$custom: #5b5992;
$custom-light: #8c87b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5992",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 242.105,
    "s": 24.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49141,
    "c": 0.09011,
    "h": 284.2
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#5B5992
secondary
#B2B394
accent
#C167BE
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #5B5992

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

Preview Lab → · Contrast checker → · Palette generator →

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