#51698D#51698D

#51698D is a mid, moderate blue. Relative luminance 0.138; OKLCH L 51.7% C 0.064 H 258.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#51698D
RGBrgb(81, 105, 141)
HSLhsl(216, 27%, 44%)
HSVhsv(216, 43%, 55%)
CMYKcmyk(42.6%, 25.5%, 0%, 44.7%)
CIE-LABlab(43.91, 1.04, -22.60)
CIE-LCHlch(43.91, 22.62, 272.63°)
OKLaboklab(51.66% -0.013 -0.0629)
OKLCHoklch(51.66% 0.064 258.3)
XYZxyz(13.2511, 13.7748, 27.1547)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51698D #8D7551
analogous
#51878D #51698D #57518D
triadic
#51698D #8D5169 #698D51
tetradic
#51698D #8D5187 #8D7551 #518D57
square
#51698D #8D5187 #8D7551 #518D57
split-complementary
#51698D #8D5751 #878D51
monochromatic
#242F3F #3B4C66 #51698D #6F87AC #96A8C3

Accessibility & contrast

On white

5.59
#51698D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#51698D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51698D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51698D#FFFFFF#000000##FFFFFF
##51698D1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B8F
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#3C7175
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #51698d;
/* rgb */ color: rgb(81, 105, 141);
/* oklch */ color: oklch(51.7% 0.064 258.3);
Tailwind
colors: {
  custom: {
    50: '#8493ae',
    500: '#51698d',
    950: '#000000',
  },
}
SCSS
$custom: #51698d;
$custom-light: #8493ae;
$custom-dark: #000000;
JSON
{
  "hex": "#51698d",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 141
  },
  "hsl": {
    "h": 216,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.06421,
    "h": 258.3
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51698D

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

Preview Lab → · Contrast checker → · Palette generator →

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