#54787F#54787F

#54787F is a mid, muted teal. Relative luminance 0.169; OKLCH L 54.8% C 0.042 H 211.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#54787F
RGBrgb(84, 120, 127)
HSLhsl(190, 20%, 41%)
HSVhsv(190, 34%, 50%)
CMYKcmyk(33.9%, 5.5%, 0%, 50.2%)
CIE-LABlab(48.07, -10.84, -7.91)
CIE-LCHlch(48.07, 13.42, 216.14°)
OKLaboklab(54.82% -0.0361 -0.0216)
OKLCHoklch(54.82% 0.042 211)
XYZxyz(14.2021, 16.8493, 22.5785)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54787F #7F5B54
analogous
#547F71 #54787F #54637F
triadic
#54787F #7F5478 #787F54
tetradic
#54787F #71547F #7F5B54 #637F54
square
#54787F #71547F #7F5B54 #637F54
split-complementary
#54787F #7F5463 #7F7154
monochromatic
#233235 #3C555A #54787F #7098A0 #95B3B9

Accessibility & contrast

On white

4.81
#54787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#54787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54787F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54787F#FFFFFF#000000##FFFFFF
##54787F1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54787f;
/* rgb */ color: rgb(84, 120, 127);
/* oklch */ color: oklch(54.8% 0.042 211.0);
Tailwind
colors: {
  custom: {
    50: '#869fa4',
    500: '#54787f',
    950: '#000000',
  },
}
SCSS
$custom: #54787f;
$custom-light: #869fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#54787f",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 189.767,
    "s": 20.379,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.04205,
    "h": 211
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#54787F
secondary
#A68D89
accent
#786BBD
background
#F8F9FA
surface
#EFF2F4
border
#CACCCE
text
#0B0E0F
muted
#7C7E7F

Preview Lab

Preview with #54787F

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

Preview Lab → · Contrast checker → · Palette generator →

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