#505674#505674

#505674 is a mid, muted blue. Relative luminance 0.096; OKLCH L 46.0% C 0.050 H 275.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#505674
RGBrgb(80, 86, 116)
HSLhsl(230, 18%, 38%)
HSVhsv(230, 31%, 45%)
CMYKcmyk(31%, 25.9%, 0%, 54.5%)
CIE-LABlab(37.15, 5.24, -17.84)
CIE-LCHlch(37.15, 18.59, 286.38°)
OKLaboklab(46.01% 0.0048 -0.0493)
OKLCHoklch(46.01% 0.05 275.5)
XYZxyz(9.7876, 9.6217, 17.8611)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505674 #746E50
analogous
#506874 #505674 #5C5074
triadic
#505674 #745056 #567450
tetradic
#505674 #745068 #746E50 #50745C
square
#505674 #745068 #746E50 #50745C
split-complementary
#505674 #745C50 #687450
monochromatic
#1E202C #373B50 #505674 #697198 #8E93B1

Accessibility & contrast

On white

7.18
#505674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#505674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505674
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505674#FFFFFF#000000##FFFFFF
##5056741.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5975
Deuteranopia (green-blind)
#4B5673
Tritanopia (blue-blind)
#475C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505674;
/* rgb */ color: rgb(80, 86, 116);
/* oklch */ color: oklch(46.0% 0.050 275.5);
Tailwind
colors: {
  custom: {
    50: '#82859c',
    500: '#505674',
    950: '#000000',
  },
}
SCSS
$custom: #505674;
$custom-light: #82859c;
$custom-dark: #000000;
JSON
{
  "hex": "#505674",
  "rgb": {
    "r": 80,
    "g": 86,
    "b": 116
  },
  "hsl": {
    "h": 230,
    "s": 18.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46012,
    "c": 0.0495,
    "h": 275.5
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#505674
secondary
#9E9982
accent
#AE6DBB
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0A0B0E
muted
#7C7C7E

Preview Lab

Preview with #505674

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

Preview Lab → · Contrast checker → · Palette generator →

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