#51679C#51679C

#51679C is a mid, moderate blue. Relative luminance 0.139; OKLCH L 52.0% C 0.088 H 266.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#51679C
RGBrgb(81, 103, 156)
HSLhsl(222, 32%, 46%)
HSVhsv(222, 48%, 61%)
CMYKcmyk(48.1%, 34%, 0%, 38.8%)
CIE-LABlab(44.02, 6.88, -31.37)
CIE-LCHlch(44.02, 32.11, 282.38°)
OKLaboklab(51.97% -0.0058 -0.0882)
OKLCHoklch(51.97% 0.088 266.2)
XYZxyz(14.2424, 13.8492, 33.3687)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51679C #9C8651
analogous
#518D9C #51679C #61519C
triadic
#51679C #9C5167 #679C51
tetradic
#51679C #9C518D #9C8651 #519C61
square
#51679C #9C518D #9C8651 #519C61
split-complementary
#51679C #9C6151 #8D9C51
monochromatic
#27324B #3C4C74 #51679C #7487B7 #9CAACC

Accessibility & contrast

On white

5.57
#51679C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#51679C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51679C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51679C#FFFFFF#000000##FFFFFF
##51679C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536C9E
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#33727A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #51679c;
/* rgb */ color: rgb(81, 103, 156);
/* oklch */ color: oklch(52.0% 0.088 266.2);
Tailwind
colors: {
  custom: {
    50: '#8692b9',
    500: '#51679c',
    950: '#000000',
  },
}
SCSS
$custom: #51679c;
$custom-light: #8692b9;
$custom-dark: #000000;
JSON
{
  "hex": "#51679c",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 156
  },
  "hsl": {
    "h": 222.4,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.08835,
    "h": 266.2
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#51679C
secondary
#B8AD90
accent
#A960C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #51679C

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

Preview Lab → · Contrast checker → · Palette generator →

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