#5B7897#5B7897

#5B7897 is a mid, muted cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.059 H 250.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5B7897
RGBrgb(91, 120, 151)
HSLhsl(211, 25%, 47%)
HSVhsv(211, 40%, 59%)
CMYKcmyk(39.7%, 20.5%, 0%, 40.8%)
CIE-LABlab(49.36, -2.17, -20.07)
CIE-LCHlch(49.36, 20.19, 263.84°)
OKLaboklab(56.24% -0.0196 -0.0555)
OKLCHoklch(56.24% 0.059 250.6)
XYZxyz(16.6150, 17.8905, 31.8499)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7897 #977A5B
analogous
#5B9697 #5B7897 #5C5B97
triadic
#5B7897 #975B78 #78975B
tetradic
#5B7897 #975B96 #977A5B #5B975C
square
#5B7897 #975B96 #977A5B #5B975C
split-complementary
#5B7897 #975C5B #96975B
monochromatic
#2D3B4B #445A71 #5B7897 #7E97B1 #A4B6C8

Accessibility & contrast

On white

4.59
#5B7897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5B7897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7897
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7897#FFFFFF#000000##FFFFFF
##5B78971.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7998
Deuteranopia (green-blind)
#657396
Tritanopia (blue-blind)
#467F82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b7897;
/* rgb */ color: rgb(91, 120, 151);
/* oklch */ color: oklch(56.2% 0.059 250.6);
Tailwind
colors: {
  custom: {
    50: '#8c9eb5',
    500: '#5b7897',
    950: '#000000',
  },
}
SCSS
$custom: #5b7897;
$custom-light: #8c9eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7897",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 211,
    "s": 24.793,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.0589,
    "h": 250.6
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#5B7897
secondary
#B6A798
accent
#9567C1
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E11
muted
#7D7E80

Preview Lab

Preview with #5B7897

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

Preview Lab → · Contrast checker → · Palette generator →

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