#51548D#51548D

#51548D is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.0% C 0.092 H 280.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#51548D
RGBrgb(81, 84, 141)
HSLhsl(237, 27%, 44%)
HSVhsv(237, 43%, 55%)
CMYKcmyk(42.6%, 40.4%, 0%, 44.7%)
CIE-LABlab(37.87, 14.19, -32.04)
CIE-LCHlch(37.87, 35.04, 293.88°)
OKLaboklab(46.98% 0.0158 -0.0902)
OKLCHoklch(46.98% 0.092 280)
XYZxyz(11.3700, 10.0126, 26.5277)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51548D #8D8A51
analogous
#51728D #51548D #6C518D
triadic
#51548D #8D5154 #548D51
tetradic
#51548D #8D5172 #8D8A51 #518D6C
square
#51548D #8D5172 #8D8A51 #518D6C
split-complementary
#51548D #8D6C51 #728D51
monochromatic
#24263F #3B3D66 #51548D #6F72AC #9698C3

Accessibility & contrast

On white

6.99
#51548D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#51548D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51548D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51548D#FFFFFF#000000##FFFFFF
##51548D1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8F
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#3E5F69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #51548d;
/* rgb */ color: rgb(81, 84, 141);
/* oklch */ color: oklch(47.0% 0.092 280.0);
Tailwind
colors: {
  custom: {
    50: '#8584ae',
    500: '#51548d',
    950: '#000000',
  },
}
SCSS
$custom: #51548d;
$custom-light: #8584ae;
$custom-dark: #000000;
JSON
{
  "hex": "#51548d",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 237,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46975,
    "c": 0.09159,
    "h": 280
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#51548D
secondary
#AFAE8A
accent
#BF64C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #51548D

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

Preview Lab → · Contrast checker → · Palette generator →

#51548D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva