#51599A#51599A

#51599A is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.8% C 0.104 H 276.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#51599A
RGBrgb(81, 89, 154)
HSLhsl(233, 31%, 46%)
HSVhsv(233, 47%, 60%)
CMYKcmyk(47.4%, 42.2%, 0%, 39.6%)
CIE-LABlab(39.96, 15.06, -36.57)
CIE-LCHlch(39.96, 39.55, 292.38°)
OKLaboklab(48.81% 0.0118 -0.1034)
OKLCHoklch(48.81% 0.104 276.5)
XYZxyz(12.7967, 11.2265, 32.0582)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51599A #9A9251
analogous
#517D9A #51599A #6D519A
triadic
#51599A #9A5159 #599A51
tetradic
#51599A #9A517D #9A9251 #519A6D
square
#51599A #9A517D #9A9251 #519A6D
split-complementary
#51599A #9A6D51 #7D9A51
monochromatic
#272B4A #3C4272 #51599A #737AB5 #9BA0CA

Accessibility & contrast

On white

6.47
#51599A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#51599A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51599A
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51599A#FFFFFF#000000##FFFFFF
##51599A1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40619D
Deuteranopia (green-blind)
#3A5B99
Tritanopia (blue-blind)
#376672
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #51599a;
/* rgb */ color: rgb(81, 89, 154);
/* oklch */ color: oklch(48.8% 0.104 276.5);
Tailwind
colors: {
  custom: {
    50: '#8687b8',
    500: '#51599a',
    950: '#000000',
  },
}
SCSS
$custom: #51599a;
$custom-light: #8687b8;
$custom-dark: #000000;
JSON
{
  "hex": "#51599a",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 154
  },
  "hsl": {
    "h": 233.425,
    "s": 31.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.10407,
    "h": 276.5
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#51599A
secondary
#B7B38F
accent
#BC61C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #51599A

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

Preview Lab → · Contrast checker → · Palette generator →

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