#5179AE#5179AE

#5179AE is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 57.0% C 0.094 H 255.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5179AE
RGBrgb(81, 121, 174)
HSLhsl(214, 36%, 50%)
HSVhsv(214, 53%, 68%)
CMYKcmyk(53.4%, 30.5%, 0%, 31.8%)
CIE-LABlab(50.07, 1.64, -32.43)
CIE-LCHlch(50.07, 32.47, 272.89°)
OKLaboklab(56.97% -0.023 -0.0912)
OKLCHoklch(56.97% 0.094 255.8)
XYZxyz(17.8681, 18.4787, 42.6614)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5179AE #AE8651
analogous
#51A7AE #5179AE #5851AE
triadic
#5179AE #AE5179 #79AE51
tetradic
#5179AE #AE51A7 #AE8651 #51AE58
square
#5179AE #AE51A7 #AE8651 #51AE58
split-complementary
#5179AE #AE5851 #A7AE51
monochromatic
#2A3F5A #3E5C84 #5179AE #7B99C1 #A5B9D5

Accessibility & contrast

On white

4.47
#5179AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5179AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5179AE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5179AE#FFFFFF#000000##000000
##5179AE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#647CB0
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#1E858C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5179ae;
/* rgb */ color: rgb(81, 121, 174);
/* oklch */ color: oklch(57.0% 0.094 255.8);
Tailwind
colors: {
  custom: {
    50: '#889fc6',
    500: '#5179ae',
    950: '#000000',
  },
}
SCSS
$custom: #5179ae;
$custom-light: #889fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5179ae",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 174
  },
  "hsl": {
    "h": 214.194,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.09403,
    "h": 255.8
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#5179AE
secondary
#C2B099
accent
#9C5BCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5179AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5179AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva