#5178A3#5178A3

#5178A3 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.2% C 0.080 H 251.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5178A3
RGBrgb(81, 120, 163)
HSLhsl(211, 34%, 48%)
HSVhsv(211, 50%, 64%)
CMYKcmyk(50.3%, 26.4%, 0%, 36.1%)
CIE-LABlab(49.28, -1.25, -27.26)
CIE-LCHlch(49.28, 27.29, 267.38°)
OKLaboklab(56.19% -0.0252 -0.0762)
OKLCHoklch(56.19% 0.08 251.7)
XYZxyz(16.7184, 17.8254, 37.2029)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5178A3 #A37C51
analogous
#51A1A3 #5178A3 #5351A3
triadic
#5178A3 #A35178 #78A351
tetradic
#5178A3 #A351A1 #A37C51 #51A353
square
#5178A3 #A351A1 #A37C51 #51A353
split-complementary
#5178A3 #A35351 #A1A351
monochromatic
#283C51 #3D5A7A #5178A3 #7697BB #9FB6CF

Accessibility & contrast

On white

4.60
#5178A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5178A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5178A3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5178A3#FFFFFF#000000##FFFFFF
##5178A31.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677AA5
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#2A8287
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5178a3;
/* rgb */ color: rgb(81, 120, 163);
/* oklch */ color: oklch(56.2% 0.080 251.7);
Tailwind
colors: {
  custom: {
    50: '#879ebe',
    500: '#5178a3',
    950: '#000000',
  },
}
SCSS
$custom: #5178a3;
$custom-light: #879ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5178a3",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 211.463,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.08031,
    "h": 251.7
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#5178A3
secondary
#BCA993
accent
#975ECA
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5178A3

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

Preview Lab → · Contrast checker → · Palette generator →

#5178A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva