#505B82#505B82

#505B82 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.8% C 0.065 H 271.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#505B82
RGBrgb(80, 91, 130)
HSLhsl(227, 24%, 41%)
HSVhsv(227, 38%, 51%)
CMYKcmyk(38.5%, 30%, 0%, 49%)
CIE-LABlab(39.24, 6.13, -23.20)
CIE-LCHlch(39.24, 24.00, 284.80°)
OKLaboklab(47.84% 0.0019 -0.0646)
OKLCHoklch(47.84% 0.065 271.7)
XYZxyz(11.0774, 10.7989, 22.6155)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505B82 #827750
analogous
#507482 #505B82 #5E5082
triadic
#505B82 #82505B #5B8250
tetradic
#505B82 #825074 #827750 #50825E
square
#505B82 #825074 #827750 #50825E
split-complementary
#505B82 #825E50 #748250
monochromatic
#212636 #39405C #505B82 #6B78A4 #919ABB

Accessibility & contrast

On white

6.65
#505B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#505B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505B82
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505B82#FFFFFF#000000##FFFFFF
##505B821.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F84
Deuteranopia (green-blind)
#4A5A81
Tritanopia (blue-blind)
#416369
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #505b82;
/* rgb */ color: rgb(80, 91, 130);
/* oklch */ color: oklch(47.8% 0.065 271.7);
Tailwind
colors: {
  custom: {
    50: '#8389a6',
    500: '#505b82',
    950: '#000000',
  },
}
SCSS
$custom: #505b82;
$custom-light: #8389a6;
$custom-dark: #000000;
JSON
{
  "hex": "#505b82",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 130
  },
  "hsl": {
    "h": 226.8,
    "s": 23.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.06466,
    "h": 271.7
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#505B82
secondary
#A8A186
accent
#AD68C0
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #505B82

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

Preview Lab → · Contrast checker → · Palette generator →

#505B82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva