#505990#505990

#505990 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.1% C 0.089 H 275.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#505990
RGBrgb(80, 89, 144)
HSLhsl(232, 29%, 44%)
HSVhsv(232, 44%, 56%)
CMYKcmyk(44.4%, 38.2%, 0%, 43.5%)
CIE-LABlab(39.35, 11.65, -31.52)
CIE-LCHlch(39.35, 33.61, 290.29°)
OKLaboklab(48.15% 0.0085 -0.0887)
OKLCHoklch(48.15% 0.089 275.5)
XYZxyz(11.9132, 10.8633, 27.8492)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505990 #908750
analogous
#507990 #505990 #675090
triadic
#505990 #905059 #599050
tetradic
#505990 #905079 #908750 #509067
square
#505990 #905079 #908750 #509067
split-complementary
#505990 #906750 #799050
monochromatic
#242841 #3A4169 #505990 #6E78AF #969CC5

Accessibility & contrast

On white

6.62
#505990 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#505990 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505990
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505990#FFFFFF#000000##FFFFFF
##5059901.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F92
Deuteranopia (green-blind)
#405A8F
Tritanopia (blue-blind)
#3B646D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #505990;
/* rgb */ color: rgb(80, 89, 144);
/* oklch */ color: oklch(48.1% 0.089 275.5);
Tailwind
colors: {
  custom: {
    50: '#8487b1',
    500: '#505990',
    950: '#000000',
  },
}
SCSS
$custom: #505990;
$custom-light: #8487b1;
$custom-dark: #000000;
JSON
{
  "hex": "#505990",
  "rgb": {
    "r": 80,
    "g": 89,
    "b": 144
  },
  "hsl": {
    "h": 231.563,
    "s": 28.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48146,
    "c": 0.08912,
    "h": 275.5
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#505990
secondary
#B1AC8A
accent
#B763C5
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #505990

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

Preview Lab → · Contrast checker → · Palette generator →

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