#51889D#51889D

#51889D is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.7% C 0.066 H 224.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#51889D
RGBrgb(81, 136, 157)
HSLhsl(197, 32%, 47%)
HSVhsv(197, 48%, 62%)
CMYKcmyk(48.4%, 13.4%, 0%, 38.4%)
CIE-LABlab(53.80, -12.26, -16.83)
CIE-LCHlch(53.80, 20.82, 233.92°)
OKLaboklab(59.69% -0.0473 -0.0465)
OKLCHoklch(59.69% 0.066 224.5)
XYZxyz(18.2811, 21.7906, 35.1344)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51889D #9D6651
analogous
#519D8C #51889D #51629D
triadic
#51889D #9D5188 #889D51
tetradic
#51889D #8C519D #9D6651 #629D51
square
#51889D #8C519D #9D6651 #629D51
split-complementary
#51889D #9D5162 #9D8C51
monochromatic
#27424C #3C6575 #51889D #74A5B7 #9CBFCC

Accessibility & contrast

On white

3.92
#51889D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#51889D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51889D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51889D#FFFFFF#000000##000000
##51889D1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C859E
Deuteranopia (green-blind)
#717D9D
Tritanopia (blue-blind)
#2B8E8F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51889d;
/* rgb */ color: rgb(81, 136, 157);
/* oklch */ color: oklch(59.7% 0.066 224.5);
Tailwind
colors: {
  custom: {
    50: '#87aaba',
    500: '#51889d',
    950: '#000000',
  },
}
SCSS
$custom: #51889d;
$custom-light: #87aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#51889d",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 157
  },
  "hsl": {
    "h": 196.579,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.06634,
    "h": 224.5
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#51889D
secondary
#B99C91
accent
#7D60C8
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C1011
muted
#7D7F80

Preview Lab

Preview with #51889D

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

Preview Lab → · Contrast checker → · Palette generator →

#51889D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva