#50507A#50507A

#50507A is a dark, moderate blue. Relative luminance 0.088; OKLCH L 45.0% C 0.068 H 283.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#50507A
RGBrgb(80, 80, 122)
HSLhsl(240, 21%, 40%)
HSVhsv(240, 34%, 48%)
CMYKcmyk(34.4%, 34.4%, 0%, 52.2%)
CIE-LABlab(35.69, 10.77, -23.82)
CIE-LCHlch(35.69, 26.14, 294.33°)
OKLaboklab(44.97% 0.0157 -0.0664)
OKLCHoklch(44.97% 0.068 283.3)
XYZxyz(9.6888, 8.8477, 19.6059)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50507A #7A7A50
analogous
#50657A #50507A #65507A
triadic
#50507A #7A5050 #507A50
tetradic
#50507A #7A5065 #7A7A50 #507A65
square
#50507A #7A5065 #7A7A50 #507A65
split-complementary
#50507A #7A6550 #657A50
monochromatic
#202030 #383855 #50507A #6A6A9D #8F8FB5

Accessibility & contrast

On white

7.58
#50507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#50507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50507A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50507A#FFFFFF#000000##FFFFFF
##50507A1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557C
Deuteranopia (green-blind)
#425379
Tritanopia (blue-blind)
#45585F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #50507a;
/* rgb */ color: rgb(80, 80, 122);
/* oklch */ color: oklch(45.0% 0.068 283.3);
Tailwind
colors: {
  custom: {
    50: '#8281a0',
    500: '#50507a',
    950: '#000000',
  },
}
SCSS
$custom: #50507a;
$custom-light: #8281a0;
$custom-dark: #000000;
JSON
{
  "hex": "#50507a",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44968,
    "c": 0.06822,
    "h": 283.3
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#50507A
secondary
#A3A383
accent
#BD6ABD
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #50507A

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

Preview Lab → · Contrast checker → · Palette generator →

#50507A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva