#51539A#51539A

#51539A is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.6% C 0.113 H 280.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#51539A
RGBrgb(81, 83, 154)
HSLhsl(238, 31%, 46%)
HSVhsv(238, 47%, 60%)
CMYKcmyk(47.4%, 46.1%, 0%, 39.6%)
CIE-LABlab(38.32, 18.89, -39.18)
CIE-LCHlch(38.32, 43.49, 295.74°)
OKLaboklab(47.56% 0.0195 -0.1111)
OKLCHoklch(47.56% 0.113 280)
XYZxyz(12.3176, 10.2683, 31.8985)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51539A #9A9851
analogous
#51779A #51539A #73519A
triadic
#51539A #9A5153 #539A51
tetradic
#51539A #9A5177 #9A9851 #519A73
square
#51539A #9A5177 #9A9851 #519A73
split-complementary
#51539A #9A7351 #779A51
monochromatic
#27284A #3C3D72 #51539A #7375B5 #9B9CCA

Accessibility & contrast

On white

6.88
#51539A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#51539A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51539A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51539A#FFFFFF#000000##FFFFFF
##51539A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#315898
Tritanopia (blue-blind)
#38626F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #51539a;
/* rgb */ color: rgb(81, 83, 154);
/* oklch */ color: oklch(47.6% 0.113 280.0);
Tailwind
colors: {
  custom: {
    50: '#8683b8',
    500: '#51539a',
    950: '#000000',
  },
}
SCSS
$custom: #51539a;
$custom-light: #8683b8;
$custom-dark: #000000;
JSON
{
  "hex": "#51539a",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 238.356,
    "s": 31.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47559,
    "c": 0.11278,
    "h": 280
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#51539A
secondary
#B7B68F
accent
#C461C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #51539A

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

Preview Lab → · Contrast checker → · Palette generator →

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