#51597B#51597B

#51597B is a mid, muted blue. Relative luminance 0.103; OKLCH L 47.1% C 0.056 H 273.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#51597B
RGBrgb(81, 89, 123)
HSLhsl(229, 21%, 40%)
HSVhsv(229, 34%, 48%)
CMYKcmyk(34.1%, 27.6%, 0%, 51.8%)
CIE-LABlab(38.42, 5.66, -20.19)
CIE-LCHlch(38.42, 20.97, 285.65°)
OKLaboklab(47.11% 0.0038 -0.056)
OKLCHoklch(47.11% 0.056 273.9)
XYZxyz(10.5399, 10.3238, 20.1724)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51597B #7B7351
analogous
#516E7B #51597B #5E517B
triadic
#51597B #7B5159 #597B51
tetradic
#51597B #7B516E #7B7351 #517B5E
square
#51597B #7B516E #7B7351 #517B5E
split-complementary
#51597B #7B5E51 #6E7B51
monochromatic
#202431 #393E56 #51597B #6B759E #9098B6

Accessibility & contrast

On white

6.85
#51597B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#51597B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51597B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51597B#FFFFFF#000000##FFFFFF
##51597B1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#4B597A
Tritanopia (blue-blind)
#456065
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #51597b;
/* rgb */ color: rgb(81, 89, 123);
/* oklch */ color: oklch(47.1% 0.056 273.9);
Tailwind
colors: {
  custom: {
    50: '#8387a1',
    500: '#51597b',
    950: '#000000',
  },
}
SCSS
$custom: #51597b;
$custom-light: #8387a1;
$custom-dark: #000000;
JSON
{
  "hex": "#51597b",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 123
  },
  "hsl": {
    "h": 228.571,
    "s": 20.588,
    "l": 40
  },
  "oklch": {
    "l": 0.47114,
    "c": 0.05611,
    "h": 273.9
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#51597B
secondary
#A39D84
accent
#AD6BBD
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0B0B0F
muted
#7C7C7E

Preview Lab

Preview with #51597B

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

Preview Lab → · Contrast checker → · Palette generator →

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