#51639B#51639B

#51639B is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.0% C 0.092 H 269.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#51639B
RGBrgb(81, 99, 155)
HSLhsl(225, 31%, 46%)
HSVhsv(225, 48%, 61%)
CMYKcmyk(47.7%, 36.1%, 0%, 39.2%)
CIE-LABlab(42.82, 9.06, -32.65)
CIE-LCHlch(42.82, 33.88, 285.51°)
OKLaboklab(51.03% -0.0009 -0.0919)
OKLCHoklch(51.03% 0.092 269.4)
XYZxyz(13.7697, 13.0388, 32.7952)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51639B #9B8951
analogous
#51889B #51639B #64519B
triadic
#51639B #9B5163 #639B51
tetradic
#51639B #9B5188 #9B8951 #519B64
square
#51639B #9B5188 #9B8951 #519B64
split-complementary
#51639B #9B6451 #889B51
monochromatic
#27304B #3C4973 #51639B #7383B6 #9BA7CB

Accessibility & contrast

On white

5.82
#51639B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#51639B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51639B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51639B#FFFFFF#000000##FFFFFF
##51639B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E699D
Deuteranopia (green-blind)
#47629A
Tritanopia (blue-blind)
#356F78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #51639b;
/* rgb */ color: rgb(81, 99, 155);
/* oklch */ color: oklch(51.0% 0.092 269.4);
Tailwind
colors: {
  custom: {
    50: '#868fb9',
    500: '#51639b',
    950: '#000000',
  },
}
SCSS
$custom: #51639b;
$custom-light: #868fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#51639b",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 155
  },
  "hsl": {
    "h": 225.405,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51026,
    "c": 0.09191,
    "h": 269.4
  },
  "luminance": 0.1304
}

Semantic roles & 50–950 ramp

primary
#51639B
secondary
#B8AE90
accent
#AE60C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #51639B

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

Preview Lab → · Contrast checker → · Palette generator →

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