#5D799C#5D799C

#5D799C is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.8% C 0.063 H 254.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5D799C
RGBrgb(93, 121, 156)
HSLhsl(213, 25%, 49%)
HSVhsv(213, 40%, 61%)
CMYKcmyk(40.4%, 22.4%, 0%, 38.8%)
CIE-LABlab(49.98, -0.76, -22.04)
CIE-LCHlch(49.98, 22.05, 268.03°)
OKLaboklab(56.82% -0.0171 -0.0611)
OKLCHoklch(56.82% 0.063 254.3)
XYZxyz(17.3504, 18.4013, 34.0836)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D799C #9C805D
analogous
#5D999C #5D799C #615D9C
triadic
#5D799C #9C5D79 #799C5D
tetradic
#5D799C #9C5D99 #9C805D #5D9C61
square
#5D799C #9C5D99 #9C805D #5D9C61
split-complementary
#5D799C #9C615D #999C5D
monochromatic
#2F3E4F #465B76 #5D799C #8298B4 #A8B8CB

Accessibility & contrast

On white

4.49
#5D799C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5D799C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D799C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D799C#FFFFFF#000000##000000
##5D799C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d799c;
/* rgb */ color: rgb(93, 121, 156);
/* oklch */ color: oklch(56.8% 0.063 254.3);
Tailwind
colors: {
  custom: {
    50: '#8d9fb9',
    500: '#5d799c',
    950: '#000000',
  },
}
SCSS
$custom: #5d799c;
$custom-light: #8d9fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d799c",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 213.333,
    "s": 25.301,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.06348,
    "h": 254.3
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#5D799C
secondary
#B9AC9B
accent
#9966C2
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E11
muted
#7D7E80

Preview Lab

Preview with #5D799C

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

Preview Lab → · Contrast checker → · Palette generator →

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