#505488#505488

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

Color values

HEX#505488
RGBrgb(80, 84, 136)
HSLhsl(236, 26%, 42%)
HSVhsv(236, 41%, 53%)
CMYKcmyk(41.2%, 38.2%, 0%, 46.7%)
CIE-LABlab(37.52, 12.38, -29.54)
CIE-LCHlch(37.52, 32.03, 292.73°)
OKLaboklab(46.61% 0.0135 -0.083)
OKLCHoklch(46.61% 0.084 279.2)
XYZxyz(10.9212, 9.8232, 24.6084)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505488 #888450
analogous
#507088 #505488 #685088
triadic
#505488 #885054 #548850
tetradic
#505488 #885070 #888450 #508868
square
#505488 #885070 #888450 #508868
split-complementary
#505488 #886850 #708850
monochromatic
#23243B #393C61 #505488 #6C71A9 #9396BF

Accessibility & contrast

On white

7.08
#505488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #505488
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505488#FFFFFF#000000##FFFFFF
##5054881.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A8A
Deuteranopia (green-blind)
#3F5687
Tritanopia (blue-blind)
#3F5E67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505488;
/* rgb */ color: rgb(80, 84, 136);
/* oklch */ color: oklch(46.6% 0.084 279.2);
Tailwind
colors: {
  custom: {
    50: '#8484ab',
    500: '#505488',
    950: '#000000',
  },
}
SCSS
$custom: #505488;
$custom-light: #8484ab;
$custom-dark: #000000;
JSON
{
  "hex": "#505488",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 235.714,
    "s": 25.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46608,
    "c": 0.08405,
    "h": 279.2
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#505488
secondary
#ACAA88
accent
#BC65C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #505488

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

Preview Lab → · Contrast checker → · Palette generator →

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