#5D789B#5D789B

#5D789B is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.5% C 0.063 H 255.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5D789B
RGBrgb(93, 120, 155)
HSLhsl(214, 25%, 49%)
HSVhsv(214, 40%, 61%)
CMYKcmyk(40%, 22.6%, 0%, 39.2%)
CIE-LABlab(49.65, -0.45, -21.96)
CIE-LCHlch(49.65, 21.97, 268.82°)
OKLaboklab(56.55% -0.0161 -0.0609)
OKLCHoklch(56.55% 0.063 255.1)
XYZxyz(17.1452, 18.1257, 33.5992)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D789B #9B805D
analogous
#5D979B #5D789B #615D9B
triadic
#5D789B #9B5D78 #789B5D
tetradic
#5D789B #9B5D97 #9B805D #5D9B61
square
#5D789B #9B5D97 #9B805D #5D9B61
split-complementary
#5D789B #9B615D #979B5D
monochromatic
#2F3D4E #465A75 #5D789B #8197B4 #A8B7CB

Accessibility & contrast

On white

4.54
#5D789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D789B#FFFFFF#000000##000000
##5D789B1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B799D
Deuteranopia (green-blind)
#64739A
Tritanopia (blue-blind)
#488084
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d789b;
/* rgb */ color: rgb(93, 120, 155);
/* oklch */ color: oklch(56.5% 0.063 255.1);
Tailwind
colors: {
  custom: {
    50: '#8d9eb8',
    500: '#5d789b',
    950: '#000000',
  },
}
SCSS
$custom: #5d789b;
$custom-light: #8d9eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d789b",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 213.871,
    "s": 25,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.06301,
    "h": 255.1
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#5D789B
secondary
#B9AC9B
accent
#9A66C1
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E11
muted
#7D7E80

Preview Lab

Preview with #5D789B

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

Preview Lab → · Contrast checker → · Palette generator →

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