#5D798E#5D798E

#5D798E is a mid, muted cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.046 H 241.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5D798E
RGBrgb(93, 121, 142)
HSLhsl(206, 21%, 46%)
HSVhsv(206, 35%, 56%)
CMYKcmyk(34.5%, 14.8%, 0%, 44.3%)
CIE-LABlab(49.44, -4.66, -14.65)
CIE-LCHlch(49.44, 15.38, 252.35°)
OKLaboklab(56.22% -0.0223 -0.0402)
OKLCHoklch(56.22% 0.046 241)
XYZxyz(16.2325, 17.9541, 28.1961)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D798E #8E725D
analogous
#5D8E8A #5D798E #5D608E
triadic
#5D798E #8E5D79 #798E5D
tetradic
#5D798E #8A5D8E #8E725D #608E5D
square
#5D798E #8A5D8E #8E725D #608E5D
split-complementary
#5D798E #8E5D60 #8E8A5D
monochromatic
#2D3A44 #455969 #5D798E #7E97AA #A3B5C3

Accessibility & contrast

On white

4.57
#5D798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5D798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D798E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D798E#FFFFFF#000000##000000
##5D798E1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70798F
Deuteranopia (green-blind)
#6A738E
Tritanopia (blue-blind)
#4D7E80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d798e;
/* rgb */ color: rgb(93, 121, 142);
/* oklch */ color: oklch(56.2% 0.046 241.0);
Tailwind
colors: {
  custom: {
    50: '#8c9faf',
    500: '#5d798e',
    950: '#000000',
  },
}
SCSS
$custom: #5d798e;
$custom-light: #8c9faf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d798e",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 205.714,
    "s": 20.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.04601,
    "h": 241
  },
  "luminance": 0.17955
}

Semantic roles & 50–950 ramp

primary
#5D798E
secondary
#B1A196
accent
#8E6ABD
background
#F8F9FA
surface
#F0F2F4
border
#CBCCCE
text
#0C0E10
muted
#7D7E7F

Preview Lab

Preview with #5D798E

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

Preview Lab → · Contrast checker → · Palette generator →

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