#54879C#54879C

#54879C is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.6% C 0.063 H 226.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#54879C
RGBrgb(84, 135, 156)
HSLhsl(198, 30%, 47%)
HSVhsv(198, 46%, 61%)
CMYKcmyk(46.2%, 13.5%, 0%, 38.8%)
CIE-LABlab(53.61, -11.24, -16.53)
CIE-LCHlch(53.61, 19.99, 235.79°)
OKLaboklab(59.56% -0.0439 -0.0457)
OKLCHoklch(59.56% 0.063 226.1)
XYZxyz(18.3187, 21.6117, 34.6522)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54879C #9C6954
analogous
#549C8D #54879C #54639C
triadic
#54879C #9C5487 #879C54
tetradic
#54879C #8D549C #9C6954 #639C54
square
#54879C #8D549C #9C6954 #639C54
split-complementary
#54879C #9C5463 #9C8D54
monochromatic
#29424C #3F6574 #54879C #77A4B6 #9FBECB

Accessibility & contrast

On white

3.95
#54879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#54879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54879C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54879C#FFFFFF#000000##000000
##54879C1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C859D
Deuteranopia (green-blind)
#717D9C
Tritanopia (blue-blind)
#338D8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #54879c;
/* rgb */ color: rgb(84, 135, 156);
/* oklch */ color: oklch(59.6% 0.063 226.1);
Tailwind
colors: {
  custom: {
    50: '#88aab9',
    500: '#54879c',
    950: '#000000',
  },
}
SCSS
$custom: #54879c;
$custom-light: #88aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#54879c",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 197.5,
    "s": 30,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.06333,
    "h": 226.1
  },
  "luminance": 0.21613
}

Semantic roles & 50–950 ramp

primary
#54879C
secondary
#B99E93
accent
#7F62C6
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C1011
muted
#7D7F80

Preview Lab

Preview with #54879C

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

Preview Lab → · Contrast checker → · Palette generator →

#54879C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva