#505998#505998

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

Color values

HEX#505998
RGBrgb(80, 89, 152)
HSLhsl(233, 31%, 45%)
HSVhsv(233, 47%, 60%)
CMYKcmyk(47.4%, 41.4%, 0%, 40.4%)
CIE-LABlab(39.78, 14.17, -35.67)
CIE-LCHlch(39.78, 38.38, 291.67°)
OKLaboklab(48.61% 0.0103 -0.1008)
OKLCHoklch(48.61% 0.101 275.8)
XYZxyz(12.5464, 11.1166, 31.1843)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505998 #988F50
analogous
#507D98 #505998 #6B5098
triadic
#505998 #985059 #599850
tetradic
#505998 #98507D #988F50 #50986B
square
#505998 #98507D #988F50 #50986B
split-complementary
#505998 #986B50 #7D9850
monochromatic
#262A48 #3B4270 #505998 #7179B4 #999FC9

Accessibility & contrast

On white

6.51
#505998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #505998
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505998#FFFFFF#000000##FFFFFF
##5059981.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619A
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#366671
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #505998;
/* rgb */ color: rgb(80, 89, 152);
/* oklch */ color: oklch(48.6% 0.101 275.8);
Tailwind
colors: {
  custom: {
    50: '#8587b6',
    500: '#505998',
    950: '#000000',
  },
}
SCSS
$custom: #505998;
$custom-light: #8587b6;
$custom-dark: #000000;
JSON
{
  "hex": "#505998",
  "rgb": {
    "r": 80,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 232.5,
    "s": 31.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48613,
    "c": 0.1013,
    "h": 275.8
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#505998
secondary
#B6B18E
accent
#BA61C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #505998

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

Preview Lab → · Contrast checker → · Palette generator →

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