#51789B#51789B

#51789B is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.070 H 246.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#51789B
RGBrgb(81, 120, 155)
HSLhsl(208, 31%, 46%)
HSVhsv(208, 48%, 61%)
CMYKcmyk(47.7%, 22.6%, 0%, 39.2%)
CIE-LABlab(48.94, -3.71, -23.11)
CIE-LCHlch(48.94, 23.41, 260.88°)
OKLaboklab(55.81% -0.0279 -0.0643)
OKLCHoklch(55.81% 0.07 246.5)
XYZxyz(16.0242, 17.5477, 33.5466)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51789B #9B7451
analogous
#519B99 #51789B #51539B
triadic
#51789B #9B5178 #789B51
tetradic
#51789B #99519B #9B7451 #539B51
square
#51789B #99519B #9B7451 #539B51
split-complementary
#51789B #9B5153 #9B9951
monochromatic
#273A4B #3C5973 #51789B #7396B6 #9BB4CB

Accessibility & contrast

On white

4.66
#51789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#51789B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #51789B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51789B#FFFFFF#000000##FFFFFF
##51789B1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A799D
Deuteranopia (green-blind)
#60719A
Tritanopia (blue-blind)
#318084
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #51789b;
/* rgb */ color: rgb(81, 120, 155);
/* oklch */ color: oklch(55.8% 0.070 246.5);
Tailwind
colors: {
  custom: {
    50: '#869eb8',
    500: '#51789b',
    950: '#000000',
  },
}
SCSS
$custom: #51789b;
$custom-light: #869eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#51789b",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 208.378,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55807,
    "c": 0.07015,
    "h": 246.5
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#51789B
secondary
#B8A390
accent
#9160C8
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0E11
muted
#7C7E80

Preview Lab

Preview with #51789B

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

Preview Lab → · Contrast checker → · Palette generator →

#51789B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva