#5B6099#5B6099

#5B6099 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.0% C 0.090 H 278.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5B6099
RGBrgb(91, 96, 153)
HSLhsl(235, 25%, 48%)
HSVhsv(235, 41%, 60%)
CMYKcmyk(40.5%, 37.3%, 0%, 40%)
CIE-LABlab(42.60, 13.02, -31.76)
CIE-LCHlch(42.60, 34.33, 292.30°)
OKLaboklab(51% 0.0139 -0.0891)
OKLCHoklch(51% 0.09 278.9)
XYZxyz(14.2453, 12.8892, 31.8681)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6099 #99945B
analogous
#5B7F99 #5B6099 #755B99
triadic
#5B6099 #995B60 #60995B
tetradic
#5B6099 #995B7F #99945B #5B9975
square
#5B6099 #995B7F #99945B #5B9975
split-complementary
#5B6099 #99755B #7F995B
monochromatic
#2D304C #444873 #5B6099 #7F83B3 #A5A8C9

Accessibility & contrast

On white

5.87
#5B6099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5B6099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6099
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6099#FFFFFF#000000##FFFFFF
##5B60991.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D679B
Deuteranopia (green-blind)
#496298
Tritanopia (blue-blind)
#486B75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b6099;
/* rgb */ color: rgb(91, 96, 153);
/* oklch */ color: oklch(51.0% 0.090 278.9);
Tailwind
colors: {
  custom: {
    50: '#8c8db7',
    500: '#5b6099',
    950: '#000000',
  },
}
SCSS
$custom: #5b6099;
$custom-light: #8c8db7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6099",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 153
  },
  "hsl": {
    "h": 235.161,
    "s": 25.41,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51003,
    "c": 0.09022,
    "h": 278.9
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#5B6099
secondary
#B7B598
accent
#BA66C2
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C11
muted
#7D7D80

Preview Lab

Preview with #5B6099

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

Preview Lab → · Contrast checker → · Palette generator →

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