#51639D#51639D

#51639D is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.1% C 0.095 H 269.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#51639D
RGBrgb(81, 99, 157)
HSLhsl(226, 32%, 47%)
HSVhsv(226, 48%, 62%)
CMYKcmyk(48.4%, 36.9%, 0%, 38.4%)
CIE-LABlab(42.92, 9.69, -33.68)
CIE-LCHlch(42.92, 35.04, 286.06°)
OKLaboklab(51.14% -0.0004 -0.0949)
OKLCHoklch(51.14% 0.095 269.8)
XYZxyz(13.9390, 13.1065, 33.6871)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51639D #9D8B51
analogous
#51899D #51639D #65519D
triadic
#51639D #9D5163 #639D51
tetradic
#51639D #9D5189 #9D8B51 #519D65
square
#51639D #9D5189 #9D8B51 #519D65
split-complementary
#51639D #9D6551 #899D51
monochromatic
#27304C #3C4A75 #51639D #7484B7 #9CA8CC

Accessibility & contrast

On white

5.80
#51639D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#51639D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51639D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51639D#FFFFFF#000000##FFFFFF
##51639D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D699F
Deuteranopia (green-blind)
#46629C
Tritanopia (blue-blind)
#336F78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #51639d;
/* rgb */ color: rgb(81, 99, 157);
/* oklch */ color: oklch(51.1% 0.095 269.8);
Tailwind
colors: {
  custom: {
    50: '#868fba',
    500: '#51639d',
    950: '#000000',
  },
}
SCSS
$custom: #51639d;
$custom-light: #868fba;
$custom-dark: #000000;
JSON
{
  "hex": "#51639d",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 157
  },
  "hsl": {
    "h": 225.789,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51138,
    "c": 0.0949,
    "h": 269.8
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#51639D
secondary
#B9B091
accent
#AF60C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #51639D

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

Preview Lab → · Contrast checker → · Palette generator →

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