#505384#505384

#505384 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.2% C 0.079 H 280.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#505384
RGBrgb(80, 83, 132)
HSLhsl(237, 25%, 42%)
HSVhsv(237, 39%, 52%)
CMYKcmyk(39.4%, 37.1%, 0%, 48.2%)
CIE-LABlab(37.04, 11.80, -27.86)
CIE-LCHlch(37.04, 30.26, 292.96°)
OKLaboklab(46.17% 0.014 -0.0781)
OKLCHoklch(46.17% 0.079 280.1)
XYZxyz(10.5652, 9.5575, 23.1134)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505384 #848150
analogous
#506D84 #505384 #675084
triadic
#505384 #845053 #538450
tetradic
#505384 #84506D #848150 #508467
square
#505384 #84506D #848150 #508467
split-complementary
#505384 #846750 #6D8450
monochromatic
#222338 #393B5E #505384 #6C6FA6 #9294BD

Accessibility & contrast

On white

7.21
#505384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#505384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505384
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505384#FFFFFF#000000##FFFFFF
##5053841.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435986
Deuteranopia (green-blind)
#405583
Tritanopia (blue-blind)
#415D65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505384;
/* rgb */ color: rgb(80, 83, 132);
/* oklch */ color: oklch(46.2% 0.079 280.1);
Tailwind
colors: {
  custom: {
    50: '#8383a8',
    500: '#505384',
    950: '#000000',
  },
}
SCSS
$custom: #505384;
$custom-light: #8383a8;
$custom-dark: #000000;
JSON
{
  "hex": "#505384",
  "rgb": {
    "r": 80,
    "g": 83,
    "b": 132
  },
  "hsl": {
    "h": 236.538,
    "s": 24.528,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.07933,
    "h": 280.1
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#505384
secondary
#AAA886
accent
#BC67C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #505384

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

Preview Lab → · Contrast checker → · Palette generator →

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