#51649A#51649A

#51649A is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.2% C 0.089 H 268.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#51649A
RGBrgb(81, 100, 154)
HSLhsl(224, 31%, 46%)
HSVhsv(224, 47%, 60%)
CMYKcmyk(47.4%, 35.1%, 0%, 39.6%)
CIE-LABlab(43.06, 8.12, -31.68)
CIE-LCHlch(43.06, 32.71, 284.38°)
OKLaboklab(51.19% -0.0025 -0.0891)
OKLCHoklch(51.19% 0.089 268.4)
XYZxyz(13.7814, 13.1960, 32.3865)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51649A #9A8751
analogous
#51889A #51649A #62519A
triadic
#51649A #9A5164 #649A51
tetradic
#51649A #9A5188 #9A8751 #519A62
square
#51649A #9A5188 #9A8751 #519A62
split-complementary
#51649A #9A6251 #889A51
monochromatic
#27304A #3C4A72 #51649A #7384B5 #9BA7CA

Accessibility & contrast

On white

5.77
#51649A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#51649A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51649A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51649A#FFFFFF#000000##FFFFFF
##51649A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50699C
Deuteranopia (green-blind)
#496399
Tritanopia (blue-blind)
#356F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #51649a;
/* rgb */ color: rgb(81, 100, 154);
/* oklch */ color: oklch(51.2% 0.089 268.4);
Tailwind
colors: {
  custom: {
    50: '#868fb8',
    500: '#51649a',
    950: '#000000',
  },
}
SCSS
$custom: #51649a;
$custom-light: #868fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#51649a",
  "rgb": {
    "r": 81,
    "g": 100,
    "b": 154
  },
  "hsl": {
    "h": 224.384,
    "s": 31.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.08913,
    "h": 268.4
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#51649A
secondary
#B7AD8F
accent
#AD61C7
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #51649A

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

Preview Lab → · Contrast checker → · Palette generator →

#51649A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva