#5D789C#5D789C

#5D789C is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.6% C 0.064 H 255.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5D789C
RGBrgb(93, 120, 156)
HSLhsl(214, 25%, 49%)
HSVhsv(214, 40%, 61%)
CMYKcmyk(40.4%, 23.1%, 0%, 38.8%)
CIE-LABlab(49.69, -0.17, -22.49)
CIE-LCHlch(49.69, 22.49, 269.57°)
OKLaboklab(56.59% -0.0158 -0.0624)
OKLCHoklch(56.59% 0.064 255.8)
XYZxyz(17.2295, 18.1595, 34.0433)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D789C #9C815D
analogous
#5D989C #5D789C #625D9C
triadic
#5D789C #9C5D78 #789C5D
tetradic
#5D789C #9C5D98 #9C815D #5D9C62
square
#5D789C #9C5D98 #9C815D #5D9C62
split-complementary
#5D789C #9C625D #989C5D
monochromatic
#2F3D4F #465B76 #5D789C #8297B4 #A8B7CB

Accessibility & contrast

On white

4.53
#5D789C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5D789C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D789C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D789C#FFFFFF#000000##000000
##5D789C1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7A9E
Deuteranopia (green-blind)
#63739B
Tritanopia (blue-blind)
#478084
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d789c;
/* rgb */ color: rgb(93, 120, 156);
/* oklch */ color: oklch(56.6% 0.064 255.8);
Tailwind
colors: {
  custom: {
    50: '#8d9eb9',
    500: '#5d789c',
    950: '#000000',
  },
}
SCSS
$custom: #5d789c;
$custom-light: #8d9eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d789c",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 214.286,
    "s": 25.301,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.06436,
    "h": 255.8
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#5D789C
secondary
#B9AD9B
accent
#9A66C2
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E11
muted
#7D7E80

Preview Lab

Preview with #5D789C

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

Preview Lab → · Contrast checker → · Palette generator →

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