#51597A#51597A

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

Color values

HEX#51597A
RGBrgb(81, 89, 122)
HSLhsl(228, 20%, 40%)
HSVhsv(228, 34%, 48%)
CMYKcmyk(33.6%, 27%, 0%, 52.2%)
CIE-LABlab(38.37, 5.37, -19.65)
CIE-LCHlch(38.37, 20.37, 285.30°)
OKLaboklab(47.07% 0.0034 -0.0544)
OKLCHoklch(47.07% 0.055 273.6)
XYZxyz(10.4776, 10.2989, 19.8444)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51597A #7A7251
analogous
#516D7A #51597A #5E517A
triadic
#51597A #7A5159 #597A51
tetradic
#51597A #7A516D #7A7251 #517A5E
square
#51597A #7A516D #7A7251 #517A5E
split-complementary
#51597A #7A5E51 #6D7A51
monochromatic
#202330 #393E55 #51597A #6B759D #9097B5

Accessibility & contrast

On white

6.86
#51597A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #51597A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51597A#FFFFFF#000000##FFFFFF
##51597A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7B
Deuteranopia (green-blind)
#4C5979
Tritanopia (blue-blind)
#465F64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #51597a;
/* rgb */ color: rgb(81, 89, 122);
/* oklch */ color: oklch(47.1% 0.055 273.6);
Tailwind
colors: {
  custom: {
    50: '#8387a0',
    500: '#51597a',
    950: '#000000',
  },
}
SCSS
$custom: #51597a;
$custom-light: #8387a0;
$custom-dark: #000000;
JSON
{
  "hex": "#51597a",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 122
  },
  "hsl": {
    "h": 228.293,
    "s": 20.197,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47065,
    "c": 0.05453,
    "h": 273.6
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51597A

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

Preview Lab → · Contrast checker → · Palette generator →

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