#51688D#51688D

#51688D is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.4% C 0.065 H 259.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#51688D
RGBrgb(81, 104, 141)
HSLhsl(217, 27%, 44%)
HSVhsv(217, 43%, 55%)
CMYKcmyk(42.6%, 26.2%, 0%, 44.7%)
CIE-LABlab(43.61, 1.65, -23.06)
CIE-LCHlch(43.61, 23.12, 274.09°)
OKLaboklab(51.43% -0.0116 -0.0642)
OKLCHoklch(51.43% 0.065 259.7)
XYZxyz(13.1498, 13.5723, 27.1210)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51688D #8D7651
analogous
#51868D #51688D #58518D
triadic
#51688D #8D5168 #688D51
tetradic
#51688D #8D5186 #8D7651 #518D58
square
#51688D #8D5186 #8D7651 #518D58
split-complementary
#51688D #8D5851 #868D51
monochromatic
#242F3F #3B4B66 #51688D #6F86AC #96A7C3

Accessibility & contrast

On white

5.65
#51688D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#51688D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51688D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51688D#FFFFFF#000000##FFFFFF
##51688D1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8F
Deuteranopia (green-blind)
#54648C
Tritanopia (blue-blind)
#3C7075
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #51688d;
/* rgb */ color: rgb(81, 104, 141);
/* oklch */ color: oklch(51.4% 0.065 259.7);
Tailwind
colors: {
  custom: {
    50: '#8493ae',
    500: '#51688d',
    950: '#000000',
  },
}
SCSS
$custom: #51688d;
$custom-light: #8493ae;
$custom-dark: #000000;
JSON
{
  "hex": "#51688d",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 141
  },
  "hsl": {
    "h": 217,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.06524,
    "h": 259.7
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#51688D
secondary
#AFA18A
accent
#9F64C3
background
#F8F9FA
surface
#EFF1F4
border
#CACBCE
text
#0B0D10
muted
#7C7E7F

Preview Lab

Preview with #51688D

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

Preview Lab → · Contrast checker → · Palette generator →

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