#51679A#51679A

#51679A is a mid, moderate blue. Relative luminance 0.138; OKLCH L 51.9% C 0.085 H 265.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#51679A
RGBrgb(81, 103, 154)
HSLhsl(222, 31%, 46%)
HSVhsv(222, 47%, 60%)
CMYKcmyk(47.4%, 33.1%, 0%, 39.6%)
CIE-LABlab(43.92, 6.25, -30.33)
CIE-LCHlch(43.92, 30.97, 281.65°)
OKLaboklab(51.86% -0.0064 -0.0852)
OKLCHoklch(51.86% 0.085 265.7)
XYZxyz(14.0744, 13.7821, 32.4842)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51679A #9A8451
analogous
#518B9A #51679A #5F519A
triadic
#51679A #9A5167 #679A51
tetradic
#51679A #9A518B #9A8451 #519A5F
square
#51679A #9A518B #9A8451 #519A5F
split-complementary
#51679A #9A5F51 #8B9A51
monochromatic
#27314A #3C4C72 #51679A #7387B5 #9BA9CA

Accessibility & contrast

On white

5.59
#51679A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#51679A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51679A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51679A#FFFFFF#000000##FFFFFF
##51679A1.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)
#546B9C
Deuteranopia (green-blind)
#4D6599
Tritanopia (blue-blind)
#357279
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #51679a;
/* rgb */ color: rgb(81, 103, 154);
/* oklch */ color: oklch(51.9% 0.085 265.7);
Tailwind
colors: {
  custom: {
    50: '#8692b8',
    500: '#51679a',
    950: '#000000',
  },
}
SCSS
$custom: #51679a;
$custom-light: #8692b8;
$custom-dark: #000000;
JSON
{
  "hex": "#51679a",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 154
  },
  "hsl": {
    "h": 221.918,
    "s": 31.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.0854,
    "h": 265.7
  },
  "luminance": 0.13783
}

Semantic roles & 50–950 ramp

primary
#51679A
secondary
#B7AB8F
accent
#A861C7
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #51679A

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

Preview Lab → · Contrast checker → · Palette generator →

#51679A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva