#51597E#51597E

#51597E is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.3% C 0.061 H 274.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#51597E
RGBrgb(81, 89, 126)
HSLhsl(229, 22%, 41%)
HSVhsv(229, 36%, 49%)
CMYKcmyk(35.7%, 29.4%, 0%, 50.6%)
CIE-LABlab(38.55, 6.52, -21.82)
CIE-LCHlch(38.55, 22.78, 286.64°)
OKLaboklab(47.26% 0.0047 -0.0606)
OKLCHoklch(47.26% 0.061 274.5)
XYZxyz(10.7305, 10.4000, 21.1766)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51597E #7E7651
analogous
#516F7E #51597E #5F517E
triadic
#51597E #7E5159 #597E51
tetradic
#51597E #7E516F #7E7651 #517E5F
square
#51597E #7E516F #7E7651 #517E5F
split-complementary
#51597E #7E5F51 #6F7E51
monochromatic
#212433 #393F59 #51597E #6C75A0 #9198B8

Accessibility & contrast

On white

6.82
#51597E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#51597E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51597E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51597E#FFFFFF#000000##FFFFFF
##51597E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D80
Deuteranopia (green-blind)
#4A597D
Tritanopia (blue-blind)
#446066
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #51597e;
/* rgb */ color: rgb(81, 89, 126);
/* oklch */ color: oklch(47.3% 0.061 274.5);
Tailwind
colors: {
  custom: {
    50: '#8387a3',
    500: '#51597e',
    950: '#000000',
  },
}
SCSS
$custom: #51597e;
$custom-light: #8387a3;
$custom-dark: #000000;
JSON
{
  "hex": "#51597e",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 126
  },
  "hsl": {
    "h": 229.333,
    "s": 21.739,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.06083,
    "h": 274.5
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#51597E
secondary
#A5A085
accent
#AF6ABE
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #51597E

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

Preview Lab → · Contrast checker → · Palette generator →

#51597E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva