#51617C#51617C

#51617C is a mid, muted blue. Relative luminance 0.118; OKLCH L 49.0% C 0.048 H 260.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#51617C
RGBrgb(81, 97, 124)
HSLhsl(218, 21%, 40%)
HSVhsv(218, 35%, 49%)
CMYKcmyk(34.7%, 21.8%, 0%, 51.4%)
CIE-LABlab(40.82, 0.97, -17.10)
CIE-LCHlch(40.82, 17.13, 273.26°)
OKLaboklab(49% -0.0077 -0.0472)
OKLCHoklch(49% 0.048 260.8)
XYZxyz(11.3050, 11.7535, 20.7379)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51617C #7C6C51
analogous
#51777C #51617C #56517C
triadic
#51617C #7C5161 #617C51
tetradic
#51617C #7C5177 #7C6C51 #517C56
square
#51617C #7C5177 #7C6C51 #517C56
split-complementary
#51617C #7C5651 #777C51
monochromatic
#212732 #394457 #51617C #6C7F9F #919FB7

Accessibility & contrast

On white

6.27
#51617C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#51617C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51617C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51617C#FFFFFF#000000##FFFFFF
##51617C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627D
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#44676A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #51617c;
/* rgb */ color: rgb(81, 97, 124);
/* oklch */ color: oklch(49.0% 0.048 260.8);
Tailwind
colors: {
  custom: {
    50: '#838da2',
    500: '#51617c',
    950: '#000000',
  },
}
SCSS
$custom: #51617c;
$custom-light: #838da2;
$custom-dark: #000000;
JSON
{
  "hex": "#51617c",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 124
  },
  "hsl": {
    "h": 217.674,
    "s": 20.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.04783,
    "h": 260.8
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#51617C
secondary
#A49885
accent
#9F6ABE
background
#F8F8F9
surface
#EFF0F2
border
#CACBCC
text
#0B0C0F
muted
#7C7D7E

Preview Lab

Preview with #51617C

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

Preview Lab → · Contrast checker → · Palette generator →

#51617C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva