#5B6097#5B6097

#5B6097 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 50.9% C 0.087 H 278.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5B6097
RGBrgb(91, 96, 151)
HSLhsl(235, 25%, 47%)
HSVhsv(235, 40%, 59%)
CMYKcmyk(39.7%, 36.4%, 0%, 40.8%)
CIE-LABlab(42.50, 12.43, -30.72)
CIE-LCHlch(42.50, 33.14, 292.03°)
OKLaboklab(50.89% 0.0134 -0.0861)
OKLCHoklch(50.89% 0.087 278.8)
XYZxyz(14.0815, 12.8237, 31.0054)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6097 #97925B
analogous
#5B7E97 #5B6097 #745B97
triadic
#5B6097 #975B60 #60975B
tetradic
#5B6097 #975B7E #97925B #5B9774
square
#5B6097 #975B7E #97925B #5B9774
split-complementary
#5B6097 #97745B #7E975B
monochromatic
#2D2F4B #444871 #5B6097 #7E82B1 #A4A7C8

Accessibility & contrast

On white

5.89
#5B6097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5B6097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6097
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6097#FFFFFF#000000##FFFFFF
##5B60971.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6799
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#496B74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b6097;
/* rgb */ color: rgb(91, 96, 151);
/* oklch */ color: oklch(50.9% 0.087 278.8);
Tailwind
colors: {
  custom: {
    50: '#8c8db6',
    500: '#5b6097',
    950: '#000000',
  },
}
SCSS
$custom: #5b6097;
$custom-light: #8c8db6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6097",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 151
  },
  "hsl": {
    "h": 235,
    "s": 24.793,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.08717,
    "h": 278.8
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#5B6097
secondary
#B6B498
accent
#BA67C1
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C11
muted
#7D7D80

Preview Lab

Preview with #5B6097

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

Preview Lab → · Contrast checker → · Palette generator →

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