#51617E#51617E

#51617E is a mid, muted blue. Relative luminance 0.118; OKLCH L 49.1% C 0.051 H 262.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#51617E
RGBrgb(81, 97, 126)
HSLhsl(219, 22%, 41%)
HSVhsv(219, 36%, 49%)
CMYKcmyk(35.7%, 23%, 0%, 50.6%)
CIE-LABlab(40.90, 1.54, -18.19)
CIE-LCHlch(40.90, 18.26, 274.84°)
OKLaboklab(49.1% -0.0069 -0.0503)
OKLCHoklch(49.1% 0.051 262.1)
XYZxyz(11.4328, 11.8046, 21.4107)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51617E #7E6E51
analogous
#51777E #51617E #57517E
triadic
#51617E #7E5161 #617E51
tetradic
#51617E #7E5177 #7E6E51 #517E57
square
#51617E #7E5177 #7E6E51 #517E57
split-complementary
#51617E #7E5751 #777E51
monochromatic
#212833 #394459 #51617E #6C7FA0 #919FB8

Accessibility & contrast

On white

6.25
#51617E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#51617E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51617E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51617E#FFFFFF#000000##FFFFFF
##51617E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57637F
Deuteranopia (green-blind)
#535F7D
Tritanopia (blue-blind)
#43676B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #51617e;
/* rgb */ color: rgb(81, 97, 126);
/* oklch */ color: oklch(49.1% 0.051 262.1);
Tailwind
colors: {
  custom: {
    50: '#838da3',
    500: '#51617e',
    950: '#000000',
  },
}
SCSS
$custom: #51617e;
$custom-light: #838da3;
$custom-dark: #000000;
JSON
{
  "hex": "#51617e",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 126
  },
  "hsl": {
    "h": 218.667,
    "s": 21.739,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.05078,
    "h": 262.1
  },
  "luminance": 0.11805
}

Semantic roles & 50–950 ramp

primary
#51617E
secondary
#A59A85
accent
#A06ABE
background
#F8F8FA
surface
#EFF0F3
border
#CACBCD
text
#0B0C0F
muted
#7C7D7F

Preview Lab

Preview with #51617E

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

Preview Lab → · Contrast checker → · Palette generator →

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