#52787F#52787F

#52787F is a mid, muted teal. Relative luminance 0.168; OKLCH L 54.7% C 0.044 H 210.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#52787F
RGBrgb(82, 120, 127)
HSLhsl(189, 22%, 41%)
HSVhsv(189, 35%, 50%)
CMYKcmyk(35.4%, 5.5%, 0%, 50.2%)
CIE-LABlab(47.95, -11.44, -8.10)
CIE-LCHlch(47.95, 14.02, 215.29°)
OKLaboklab(54.69% -0.038 -0.0222)
OKLCHoklch(54.69% 0.044 210.3)
XYZxyz(14.0256, 16.7583, 22.5702)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52787F #7F5952
analogous
#527F6F #52787F #52617F
triadic
#52787F #7F5278 #787F52
tetradic
#52787F #6F527F #7F5952 #617F52
square
#52787F #6F527F #7F5952 #617F52
split-complementary
#52787F #7F5261 #7F6F52
monochromatic
#223235 #3A555A #52787F #6D99A1 #92B3B9

Accessibility & contrast

On white

4.83
#52787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#52787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52787F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52787F#FFFFFF#000000##FFFFFF
##52787F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757F
Deuteranopia (green-blind)
#6A6F7F
Tritanopia (blue-blind)
#417B7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #52787f;
/* rgb */ color: rgb(82, 120, 127);
/* oklch */ color: oklch(54.7% 0.044 210.3);
Tailwind
colors: {
  custom: {
    50: '#849fa4',
    500: '#52787f',
    950: '#000000',
  },
}
SCSS
$custom: #52787f;
$custom-light: #849fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#52787f",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 189.333,
    "s": 21.531,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.04399,
    "h": 210.3
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#52787F
secondary
#A68C87
accent
#776ABE
background
#F8F9FA
surface
#EFF2F4
border
#CACCCE
text
#0B0E0F
muted
#7C7E7F

Preview Lab

Preview with #52787F

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

Preview Lab → · Contrast checker → · Palette generator →

#52787F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva