#50488A#50488A

#50488A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.2% C 0.106 H 286.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#50488A
RGBrgb(80, 72, 138)
HSLhsl(247, 31%, 41%)
HSVhsv(247, 48%, 54%)
CMYKcmyk(42%, 47.8%, 0%, 45.9%)
CIE-LABlab(34.34, 20.70, -35.80)
CIE-LCHlch(34.34, 41.35, 300.03°)
OKLaboklab(44.22% 0.0306 -0.1013)
OKLCHoklch(44.22% 0.106 286.8)
XYZxyz(10.2118, 8.1748, 25.0797)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50488A #828A48
analogous
#48618A #50488A #71488A
triadic
#50488A #8A5048 #488A50
tetradic
#50488A #8A4861 #828A48 #488A71
square
#50488A #8A4861 #828A48 #488A71
split-complementary
#50488A #8A7148 #618A48
monochromatic
#211E3A #393362 #50488A #6B62AD #918AC2

Accessibility & contrast

On white

7.97
#50488A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#50488A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50488A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50488A#FFFFFF#000000##FFFFFF
##50488A1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528C
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#3F5562
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #50488a;
/* rgb */ color: rgb(80, 72, 138);
/* oklch */ color: oklch(44.2% 0.106 286.8);
Tailwind
colors: {
  custom: {
    50: '#847bac',
    500: '#50488a',
    950: '#000000',
  },
}
SCSS
$custom: #50488a;
$custom-light: #847bac;
$custom-dark: #000000;
JSON
{
  "hex": "#50488a",
  "rgb": {
    "r": 80,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 247.273,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44224,
    "c": 0.10576,
    "h": 286.8
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#50488A
secondary
#A8AE80
accent
#C860BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #50488A

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

Preview Lab → · Contrast checker → · Palette generator →

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