#51659D#51659D

#51659D is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.6% C 0.092 H 268.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#51659D
RGBrgb(81, 101, 157)
HSLhsl(224, 32%, 47%)
HSVhsv(224, 48%, 62%)
CMYKcmyk(48.4%, 35.7%, 0%, 38.4%)
CIE-LABlab(43.49, 8.45, -32.78)
CIE-LCHlch(43.49, 33.85, 284.45°)
OKLaboklab(51.58% -0.003 -0.0923)
OKLCHoklch(51.58% 0.092 268.2)
XYZxyz(14.1309, 13.4901, 33.7510)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51659D #9D8951
analogous
#518B9D #51659D #63519D
triadic
#51659D #9D5165 #659D51
tetradic
#51659D #9D518B #9D8951 #519D63
square
#51659D #9D518B #9D8951 #519D63
split-complementary
#51659D #9D6351 #8B9D51
monochromatic
#27314C #3C4B75 #51659D #7486B7 #9CA9CC

Accessibility & contrast

On white

5.68
#51659D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#51659D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51659D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51659D#FFFFFF#000000##FFFFFF
##51659D1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506A9F
Deuteranopia (green-blind)
#48649C
Tritanopia (blue-blind)
#337179
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #51659d;
/* rgb */ color: rgb(81, 101, 157);
/* oklch */ color: oklch(51.6% 0.092 268.2);
Tailwind
colors: {
  custom: {
    50: '#8690ba',
    500: '#51659d',
    950: '#000000',
  },
}
SCSS
$custom: #51659d;
$custom-light: #8690ba;
$custom-dark: #000000;
JSON
{
  "hex": "#51659d",
  "rgb": {
    "r": 81,
    "g": 101,
    "b": 157
  },
  "hsl": {
    "h": 224.211,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.09233,
    "h": 268.2
  },
  "luminance": 0.13491
}

Semantic roles & 50–950 ramp

primary
#51659D
secondary
#B9AE91
accent
#AD60C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #51659D

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

Preview Lab → · Contrast checker → · Palette generator →

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