#51689B#51689B

#51689B is a mid, moderate blue. Relative luminance 0.140; OKLCH L 52.1% C 0.086 H 265.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#51689B
RGBrgb(81, 104, 155)
HSLhsl(221, 31%, 46%)
HSVhsv(221, 48%, 61%)
CMYKcmyk(47.7%, 32.9%, 0%, 39.2%)
CIE-LABlab(44.26, 5.95, -30.40)
CIE-LCHlch(44.26, 30.97, 281.08°)
OKLaboklab(52.14% -0.0074 -0.0853)
OKLCHoklch(52.14% 0.086 265.1)
XYZxyz(14.2581, 14.0156, 32.9580)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51689B #9B8451
analogous
#518D9B #51689B #5F519B
triadic
#51689B #9B5168 #689B51
tetradic
#51689B #9B518D #9B8451 #519B5F
square
#51689B #9B518D #9B8451 #519B5F
split-complementary
#51689B #9B5F51 #8D9B51
monochromatic
#27324B #3C4D73 #51689B #7388B6 #9BAACB

Accessibility & contrast

On white

5.52
#51689B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#51689B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51689B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51689B#FFFFFF#000000##FFFFFF
##51689B1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556C9D
Deuteranopia (green-blind)
#4D669A
Tritanopia (blue-blind)
#34737A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #51689b;
/* rgb */ color: rgb(81, 104, 155);
/* oklch */ color: oklch(52.1% 0.086 265.1);
Tailwind
colors: {
  custom: {
    50: '#8692b8',
    500: '#51689b',
    950: '#000000',
  },
}
SCSS
$custom: #51689b;
$custom-light: #8692b8;
$custom-dark: #000000;
JSON
{
  "hex": "#51689b",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 155
  },
  "hsl": {
    "h": 221.351,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.08567,
    "h": 265.1
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#51689B
secondary
#B8AB90
accent
#A760C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0D11
muted
#7C7D80

Preview Lab

Preview with #51689B

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

Preview Lab → · Contrast checker → · Palette generator →

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