#505487#505487

#505487 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.083 H 279.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#505487
RGBrgb(80, 84, 135)
HSLhsl(236, 26%, 42%)
HSVhsv(236, 41%, 53%)
CMYKcmyk(40.7%, 37.8%, 0%, 47.1%)
CIE-LABlab(37.47, 12.07, -29.01)
CIE-LCHlch(37.47, 31.43, 292.59°)
OKLaboklab(46.55% 0.0133 -0.0814)
OKLCHoklch(46.55% 0.083 279.3)
XYZxyz(10.8505, 9.7949, 24.2359)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505487 #878350
analogous
#507087 #505487 #685087
triadic
#505487 #875054 #548750
tetradic
#505487 #875070 #878350 #508768
square
#505487 #875070 #878350 #508768
split-complementary
#505487 #876850 #708750
monochromatic
#22243A #393C61 #505487 #6C71A8 #9396BF

Accessibility & contrast

On white

7.10
#505487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#505487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505487
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505487#FFFFFF#000000##FFFFFF
##5054871.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#405686
Tritanopia (blue-blind)
#405E67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505487;
/* rgb */ color: rgb(80, 84, 135);
/* oklch */ color: oklch(46.6% 0.083 279.3);
Tailwind
colors: {
  custom: {
    50: '#8384aa',
    500: '#505487',
    950: '#000000',
  },
}
SCSS
$custom: #505487;
$custom-light: #8384aa;
$custom-dark: #000000;
JSON
{
  "hex": "#505487",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 235.636,
    "s": 25.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46551,
    "c": 0.0825,
    "h": 279.3
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#505487
secondary
#ACA987
accent
#BB66C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #505487

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

Preview Lab → · Contrast checker → · Palette generator →

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