#51689C#51689C

#51689C is a mid, moderate blue. Relative luminance 0.141; OKLCH L 52.2% C 0.087 H 265.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#51689C
RGBrgb(81, 104, 156)
HSLhsl(222, 32%, 46%)
HSVhsv(222, 48%, 61%)
CMYKcmyk(48.1%, 33.3%, 0%, 38.8%)
CIE-LABlab(44.30, 6.26, -30.91)
CIE-LCHlch(44.30, 31.54, 281.46°)
OKLaboklab(52.19% -0.0071 -0.0868)
OKLCHoklch(52.19% 0.087 265.3)
XYZxyz(14.3425, 14.0494, 33.4021)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51689C #9C8551
analogous
#518E9C #51689C #60519C
triadic
#51689C #9C5168 #689C51
tetradic
#51689C #9C518E #9C8551 #519C60
square
#51689C #9C518E #9C8551 #519C60
split-complementary
#51689C #9C6051 #8E9C51
monochromatic
#27324B #3C4D74 #51689C #7488B7 #9CAACC

Accessibility & contrast

On white

5.51
#51689C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#51689C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51689C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51689C#FFFFFF#000000##FFFFFF
##51689C1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556C9E
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#33737B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #51689c;
/* rgb */ color: rgb(81, 104, 156);
/* oklch */ color: oklch(52.2% 0.087 265.3);
Tailwind
colors: {
  custom: {
    50: '#8692b9',
    500: '#51689c',
    950: '#000000',
  },
}
SCSS
$custom: #51689c;
$custom-light: #8692b9;
$custom-dark: #000000;
JSON
{
  "hex": "#51689c",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 156
  },
  "hsl": {
    "h": 221.6,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.08714,
    "h": 265.3
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#51689C
secondary
#B8AC90
accent
#A860C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0D11
muted
#7C7D80

Preview Lab

Preview with #51689C

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

Preview Lab → · Contrast checker → · Palette generator →

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