#51587A#51587A

#51587A is a mid, muted blue. Relative luminance 0.101; OKLCH L 46.8% C 0.056 H 275.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#51587A
RGBrgb(81, 88, 122)
HSLhsl(230, 20%, 40%)
HSVhsv(230, 34%, 48%)
CMYKcmyk(33.6%, 27.9%, 0%, 52.2%)
CIE-LABlab(38.08, 6.00, -20.10)
CIE-LCHlch(38.08, 20.97, 286.63°)
OKLaboklab(46.84% 0.0049 -0.0557)
OKLCHoklch(46.84% 0.056 275.1)
XYZxyz(10.3949, 10.1336, 19.8169)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51587A #7A7351
analogous
#516D7A #51587A #5F517A
triadic
#51587A #7A5158 #587A51
tetradic
#51587A #7A516D #7A7351 #517A5F
square
#51587A #7A516D #7A7351 #517A5F
split-complementary
#51587A #7A5F51 #6D7A51
monochromatic
#202330 #393D55 #51587A #6B749D #9096B5

Accessibility & contrast

On white

6.94
#51587A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#51587A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51587A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51587A#FFFFFF#000000##FFFFFF
##51587A1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7B
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#465E64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #51587a;
/* rgb */ color: rgb(81, 88, 122);
/* oklch */ color: oklch(46.8% 0.056 275.1);
Tailwind
colors: {
  custom: {
    50: '#8387a0',
    500: '#51587a',
    950: '#000000',
  },
}
SCSS
$custom: #51587a;
$custom-light: #8387a0;
$custom-dark: #000000;
JSON
{
  "hex": "#51587a",
  "rgb": {
    "r": 81,
    "g": 88,
    "b": 122
  },
  "hsl": {
    "h": 229.756,
    "s": 20.197,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.05593,
    "h": 275.1
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51587A

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

Preview Lab → · Contrast checker → · Palette generator →

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