#505997#505997

#505997 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.6% C 0.100 H 275.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#505997
RGBrgb(80, 89, 151)
HSLhsl(232, 31%, 45%)
HSVhsv(232, 47%, 59%)
CMYKcmyk(47%, 41.1%, 0%, 40.8%)
CIE-LABlab(39.72, 13.85, -35.15)
CIE-LCHlch(39.72, 37.78, 291.51°)
OKLaboklab(48.55% 0.0101 -0.0993)
OKLCHoklch(48.55% 0.1 275.8)
XYZxyz(12.4648, 11.0839, 30.7548)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505997 #978E50
analogous
#507D97 #505997 #6A5097
triadic
#505997 #975059 #599750
tetradic
#505997 #97507D #978E50 #50976A
square
#505997 #97507D #978E50 #50976A
split-complementary
#505997 #976A50 #7D9750
monochromatic
#262A47 #3B416F #505997 #7179B4 #999FC9

Accessibility & contrast

On white

6.53
#505997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#505997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505997
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505997#FFFFFF#000000##FFFFFF
##5059971.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#376670
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #505997;
/* rgb */ color: rgb(80, 89, 151);
/* oklch */ color: oklch(48.6% 0.100 275.8);
Tailwind
colors: {
  custom: {
    50: '#8587b6',
    500: '#505997',
    950: '#000000',
  },
}
SCSS
$custom: #505997;
$custom-light: #8587b6;
$custom-dark: #000000;
JSON
{
  "hex": "#505997",
  "rgb": {
    "r": 80,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 232.394,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.09979,
    "h": 275.8
  },
  "luminance": 0.11085
}

Semantic roles & 50–950 ramp

primary
#505997
secondary
#B6B08D
accent
#BA61C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #505997

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

Preview Lab → · Contrast checker → · Palette generator →

#505997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva