#51569A#51569A

#51569A is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.2% C 0.108 H 278.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#51569A
RGBrgb(81, 86, 154)
HSLhsl(236, 31%, 46%)
HSVhsv(236, 47%, 60%)
CMYKcmyk(47.4%, 44.2%, 0%, 39.6%)
CIE-LABlab(39.13, 16.97, -37.88)
CIE-LCHlch(39.13, 41.51, 294.14°)
OKLaboklab(48.18% 0.0157 -0.1072)
OKLCHoklch(48.18% 0.108 278.3)
XYZxyz(12.5521, 10.7373, 31.9767)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51569A #9A9551
analogous
#517A9A #51569A #70519A
triadic
#51569A #9A5156 #569A51
tetradic
#51569A #9A517A #9A9551 #519A70
square
#51569A #9A517A #9A9551 #519A70
split-complementary
#51569A #9A7051 #7A9A51
monochromatic
#27294A #3C4072 #51569A #7377B5 #9B9ECA

Accessibility & contrast

On white

6.67
#51569A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#51569A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51569A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51569A#FFFFFF#000000##FFFFFF
##51569A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9D
Deuteranopia (green-blind)
#365998
Tritanopia (blue-blind)
#376470
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #51569a;
/* rgb */ color: rgb(81, 86, 154);
/* oklch */ color: oklch(48.2% 0.108 278.3);
Tailwind
colors: {
  custom: {
    50: '#8685b8',
    500: '#51569a',
    950: '#000000',
  },
}
SCSS
$custom: #51569a;
$custom-light: #8685b8;
$custom-dark: #000000;
JSON
{
  "hex": "#51569a",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 154
  },
  "hsl": {
    "h": 235.89,
    "s": 31.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.10839,
    "h": 278.3
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#51569A
secondary
#B7B58F
accent
#C061C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #51569A

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

Preview Lab → · Contrast checker → · Palette generator →

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