#54879F#54879F

#54879F is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.7% C 0.066 H 229.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#54879F
RGBrgb(84, 135, 159)
HSLhsl(199, 31%, 48%)
HSVhsv(199, 47%, 62%)
CMYKcmyk(47.2%, 15.1%, 0%, 37.6%)
CIE-LABlab(53.72, -10.37, -18.09)
CIE-LCHlch(53.72, 20.85, 240.19°)
OKLaboklab(59.68% -0.0427 -0.0501)
OKLCHoklch(59.68% 0.066 229.5)
XYZxyz(18.5759, 21.7146, 36.0066)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54879F #9F6C54
analogous
#549F91 #54879F #54629F
triadic
#54879F #9F5487 #879F54
tetradic
#54879F #91549F #9F6C54 #629F54
square
#54879F #91549F #9F6C54 #629F54
split-complementary
#54879F #9F5462 #9F9154
monochromatic
#2A434F #3F6577 #54879F #78A4B8 #A0BFCD

Accessibility & contrast

On white

3.93
#54879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#54879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54879F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54879F#FFFFFF#000000##000000
##54879F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B85A0
Deuteranopia (green-blind)
#707D9F
Tritanopia (blue-blind)
#318E8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #54879f;
/* rgb */ color: rgb(84, 135, 159);
/* oklch */ color: oklch(59.7% 0.066 229.5);
Tailwind
colors: {
  custom: {
    50: '#88aabb',
    500: '#54879f',
    950: '#000000',
  },
}
SCSS
$custom: #54879f;
$custom-light: #88aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#54879f",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 199.2,
    "s": 30.864,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.0658,
    "h": 229.5
  },
  "luminance": 0.21716
}

Semantic roles & 50–950 ramp

primary
#54879F
secondary
#BAA194
accent
#8161C7
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C1011
muted
#7D7F80

Preview Lab

Preview with #54879F

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

Preview Lab → · Contrast checker → · Palette generator →

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