#5B799C#5B799C

#5B799C is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.7% C 0.065 H 252.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5B799C
RGBrgb(91, 121, 156)
HSLhsl(212, 26%, 48%)
HSVhsv(212, 42%, 61%)
CMYKcmyk(41.7%, 22.4%, 0%, 38.8%)
CIE-LABlab(49.86, -1.32, -22.24)
CIE-LCHlch(49.86, 22.28, 266.61°)
OKLaboklab(56.69% -0.0192 -0.0617)
OKLCHoklch(56.69% 0.065 252.7)
XYZxyz(17.1506, 18.2982, 34.0742)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B799C #9C7E5B
analogous
#5B999C #5B799C #5D5B9C
triadic
#5B799C #9C5B79 #799C5B
tetradic
#5B799C #9C5B99 #9C7E5B #5B9C5D
square
#5B799C #9C5B99 #9C7E5B #5B9C5D
split-complementary
#5B799C #9C5D5B #999C5B
monochromatic
#2E3D4F #445B75 #5B799C #8098B5 #A6B7CB

Accessibility & contrast

On white

4.51
#5B799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5B799C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B799C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B799C#FFFFFF#000000##000000
##5B799C1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7A9E
Deuteranopia (green-blind)
#64749B
Tritanopia (blue-blind)
#448185
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b799c;
/* rgb */ color: rgb(91, 121, 156);
/* oklch */ color: oklch(56.7% 0.065 252.7);
Tailwind
colors: {
  custom: {
    50: '#8c9fb9',
    500: '#5b799c',
    950: '#000000',
  },
}
SCSS
$custom: #5b799c;
$custom-light: #8c9fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b799c",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 212.308,
    "s": 26.316,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56692,
    "c": 0.06463,
    "h": 252.7
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#5B799C
secondary
#B9AB9A
accent
#9765C3
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E11
muted
#7D7E80

Preview Lab

Preview with #5B799C

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

Preview Lab → · Contrast checker → · Palette generator →

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