#505478#505478

#505478 is a mid, muted blue. Relative luminance 0.094; OKLCH L 45.8% C 0.059 H 278.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#505478
RGBrgb(80, 84, 120)
HSLhsl(234, 20%, 39%)
HSVhsv(234, 33%, 47%)
CMYKcmyk(33.3%, 30%, 0%, 52.9%)
CIE-LABlab(36.75, 7.64, -20.94)
CIE-LCHlch(36.75, 22.29, 290.05°)
OKLaboklab(45.75% 0.0091 -0.0581)
OKLCHoklch(45.75% 0.059 278.9)
XYZxyz(9.8678, 9.4019, 19.0605)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505478 #787450
analogous
#506878 #505478 #605078
triadic
#505478 #785054 #547850
tetradic
#505478 #785068 #787450 #507860
square
#505478 #785068 #787450 #507860
split-complementary
#505478 #786050 #687850
monochromatic
#1F212F #383A53 #505478 #6A6F9B #8E92B4

Accessibility & contrast

On white

7.29
#505478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#505478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505478
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505478#FFFFFF#000000##FFFFFF
##5054781.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#455B61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505478;
/* rgb */ color: rgb(80, 84, 120);
/* oklch */ color: oklch(45.8% 0.059 278.9);
Tailwind
colors: {
  custom: {
    50: '#82849f',
    500: '#505478',
    950: '#000000',
  },
}
SCSS
$custom: #505478;
$custom-light: #82849f;
$custom-dark: #000000;
JSON
{
  "hex": "#505478",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 234,
    "s": 20,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.05883,
    "h": 278.9
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#505478
secondary
#A19E83
accent
#B46BBD
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #505478

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

Preview Lab → · Contrast checker → · Palette generator →

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