#505BAD#505BAD

#505BAD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.130 H 275.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#505BAD
RGBrgb(80, 91, 173)
HSLhsl(233, 37%, 50%)
HSVhsv(233, 54%, 68%)
CMYKcmyk(53.8%, 47.4%, 0%, 32.2%)
CIE-LABlab(41.54, 19.71, -45.35)
CIE-LCHlch(41.54, 49.45, 293.49°)
OKLaboklab(50.35% 0.0113 -0.1291)
OKLCHoklch(50.35% 0.13 275)
XYZxyz(14.5898, 12.2038, 41.1138)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BAD #ADA250
analogous
#508AAD #505BAD #7350AD
triadic
#505BAD #AD505B #5BAD50
tetradic
#505BAD #AD508A #ADA250 #50AD73
square
#505BAD #AD508A #ADA250 #50AD73
split-complementary
#505BAD #AD7350 #8AAD50
monochromatic
#292F59 #3D4583 #505BAD #7982C1 #A3A9D4

Accessibility & contrast

On white

6.10
#505BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#505BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BAD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BAD#FFFFFF#000000##FFFFFF
##505BAD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666B0
Deuteranopia (green-blind)
#2B5EAB
Tritanopia (blue-blind)
#246D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #505bad;
/* rgb */ color: rgb(80, 91, 173);
/* oklch */ color: oklch(50.4% 0.130 275.0);
Tailwind
colors: {
  custom: {
    50: '#8889c6',
    500: '#505bad',
    950: '#000000',
  },
}
SCSS
$custom: #505bad;
$custom-light: #8889c6;
$custom-dark: #000000;
JSON
{
  "hex": "#505bad",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 232.903,
    "s": 36.759,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.12964,
    "h": 275
  },
  "luminance": 0.12205
}

Semantic roles & 50–950 ramp

primary
#505BAD
secondary
#C2BD97
accent
#BF5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #505BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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