#51619D#51619D

#51619D is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.7% C 0.098 H 271.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#51619D
RGBrgb(81, 97, 157)
HSLhsl(227, 32%, 47%)
HSVhsv(227, 48%, 62%)
CMYKcmyk(48.4%, 38.2%, 0%, 38.4%)
CIE-LABlab(42.36, 10.95, -34.57)
CIE-LCHlch(42.36, 36.26, 287.58°)
OKLaboklab(50.7% 0.0022 -0.0975)
OKLCHoklch(50.7% 0.098 271.3)
XYZxyz(13.7519, 12.7322, 33.6247)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51619D #9D8D51
analogous
#51879D #51619D #67519D
triadic
#51619D #9D5161 #619D51
tetradic
#51619D #9D5187 #9D8D51 #519D67
square
#51619D #9D5187 #9D8D51 #519D67
split-complementary
#51619D #9D6751 #879D51
monochromatic
#272F4C #3C4875 #51619D #7482B7 #9CA6CC

Accessibility & contrast

On white

5.92
#51619D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#51619D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51619D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51619D#FFFFFF#000000##FFFFFF
##51619D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A679F
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#346E77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #51619d;
/* rgb */ color: rgb(81, 97, 157);
/* oklch */ color: oklch(50.7% 0.098 271.3);
Tailwind
colors: {
  custom: {
    50: '#868dba',
    500: '#51619d',
    950: '#000000',
  },
}
SCSS
$custom: #51619d;
$custom-light: #868dba;
$custom-dark: #000000;
JSON
{
  "hex": "#51619d",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 157
  },
  "hsl": {
    "h": 227.368,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.09753,
    "h": 271.3
  },
  "luminance": 0.12733
}

Semantic roles & 50–950 ramp

primary
#51619D
secondary
#B9B191
accent
#B260C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #51619D

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

Preview Lab → · Contrast checker → · Palette generator →

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