#51597D#51597D

#51597D is a mid, muted blue. Relative luminance 0.104; OKLCH L 47.2% C 0.059 H 274.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#51597D
RGBrgb(81, 89, 125)
HSLhsl(229, 21%, 40%)
HSVhsv(229, 35%, 49%)
CMYKcmyk(35.2%, 28.8%, 0%, 51%)
CIE-LABlab(38.51, 6.23, -21.28)
CIE-LCHlch(38.51, 22.17, 286.32°)
OKLaboklab(47.21% 0.0044 -0.0591)
OKLCHoklch(47.21% 0.059 274.3)
XYZxyz(10.6663, 10.3744, 20.8385)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51597D #7D7551
analogous
#516F7D #51597D #5F517D
triadic
#51597D #7D5159 #597D51
tetradic
#51597D #7D516F #7D7551 #517D5F
square
#51597D #7D516F #7D7551 #517D5F
split-complementary
#51597D #7D5F51 #6F7D51
monochromatic
#212433 #393F58 #51597D #6C75A0 #9198B8

Accessibility & contrast

On white

6.83
#51597D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #51597D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51597D#FFFFFF#000000##FFFFFF
##51597D1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#456066
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #51597d;
/* rgb */ color: rgb(81, 89, 125);
/* oklch */ color: oklch(47.2% 0.059 274.3);
Tailwind
colors: {
  custom: {
    50: '#8387a2',
    500: '#51597d',
    950: '#000000',
  },
}
SCSS
$custom: #51597d;
$custom-light: #8387a2;
$custom-dark: #000000;
JSON
{
  "hex": "#51597d",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 125
  },
  "hsl": {
    "h": 229.091,
    "s": 21.359,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.05926,
    "h": 274.3
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#51597D
secondary
#A59F85
accent
#AF6ABE
background
#F8F8FA
surface
#EFEFF3
border
#CACACD
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #51597D

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

Preview Lab → · Contrast checker → · Palette generator →

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