#505EAE#505EAE

#505EAE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.127 H 273.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#505EAE
RGBrgb(80, 94, 174)
HSLhsl(231, 37%, 50%)
HSVhsv(231, 54%, 68%)
CMYKcmyk(54%, 46%, 0%, 31.8%)
CIE-LABlab(42.41, 18.13, -44.55)
CIE-LCHlch(42.41, 48.10, 292.15°)
OKLaboklab(51.03% 0.008 -0.1268)
OKLCHoklch(51.03% 0.127 273.6)
XYZxyz(14.9485, 12.7659, 41.7125)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EAE #AEA050
analogous
#508DAE #505EAE #7150AE
triadic
#505EAE #AE505E #5EAE50
tetradic
#505EAE #AE508D #AEA050 #50AE71
square
#505EAE #AE508D #AEA050 #50AE71
split-complementary
#505EAE #AE7150 #8DAE50
monochromatic
#29315A #3D4784 #505EAE #7A84C2 #A3ABD5

Accessibility & contrast

On white

5.91
#505EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#505EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EAE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EAE#FFFFFF#000000##FFFFFF
##505EAE1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B1
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#236F7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #505eae;
/* rgb */ color: rgb(80, 94, 174);
/* oklch */ color: oklch(51.0% 0.127 273.6);
Tailwind
colors: {
  custom: {
    50: '#888bc7',
    500: '#505eae',
    950: '#000000',
  },
}
SCSS
$custom: #505eae;
$custom-light: #888bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#505eae",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 231.064,
    "s": 37.008,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.12702,
    "h": 273.6
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#505EAE
secondary
#C2BC98
accent
#BC5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #505EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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