#51619B#51619B

#51619B is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.6% C 0.095 H 271.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#51619B
RGBrgb(81, 97, 155)
HSLhsl(227, 31%, 46%)
HSVhsv(227, 48%, 61%)
CMYKcmyk(47.7%, 37.4%, 0%, 39.2%)
CIE-LABlab(42.25, 10.32, -33.54)
CIE-LCHlch(42.25, 35.09, 287.09°)
OKLaboklab(50.59% 0.0017 -0.0945)
OKLCHoklch(50.59% 0.095 271)
XYZxyz(13.5826, 12.6645, 32.7328)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51619B #9B8B51
analogous
#51869B #51619B #66519B
triadic
#51619B #9B5161 #619B51
tetradic
#51619B #9B5186 #9B8B51 #519B66
square
#51619B #9B5186 #9B8B51 #519B66
split-complementary
#51619B #9B6651 #869B51
monochromatic
#272F4B #3C4873 #51619B #7382B6 #9BA6CB

Accessibility & contrast

On white

5.94
#51619B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#51619B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51619B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51619B#FFFFFF#000000##FFFFFF
##51619B1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B679D
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#356D76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #51619b;
/* rgb */ color: rgb(81, 97, 155);
/* oklch */ color: oklch(50.6% 0.095 271.0);
Tailwind
colors: {
  custom: {
    50: '#868db9',
    500: '#51619b',
    950: '#000000',
  },
}
SCSS
$custom: #51619b;
$custom-light: #868db9;
$custom-dark: #000000;
JSON
{
  "hex": "#51619b",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 155
  },
  "hsl": {
    "h": 227.027,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.09453,
    "h": 271
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#51619B
secondary
#B8AF90
accent
#B160C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #51619B

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

Preview Lab → · Contrast checker → · Palette generator →

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