#505AAE#505AAE

#505AAE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.132 H 275.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#505AAE
RGBrgb(80, 90, 174)
HSLhsl(234, 37%, 50%)
HSVhsv(234, 54%, 68%)
CMYKcmyk(54%, 48.3%, 0%, 31.8%)
CIE-LABlab(41.33, 20.67, -46.27)
CIE-LCHlch(41.33, 50.68, 294.07°)
OKLaboklab(50.21% 0.0126 -0.1319)
OKLCHoklch(50.21% 0.132 275.5)
XYZxyz(14.6020, 12.0728, 41.5970)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505AAE #AEA450
analogous
#5089AE #505AAE #7550AE
triadic
#505AAE #AE505A #5AAE50
tetradic
#505AAE #AE5089 #AEA450 #50AE75
square
#505AAE #AE5089 #AEA450 #50AE75
split-complementary
#505AAE #AE7550 #89AE50
monochromatic
#292F5A #3D4484 #505AAE #7A81C2 #A3A9D5

Accessibility & contrast

On white

6.15
#505AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#505AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505AAE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505AAE#FFFFFF#000000##FFFFFF
##505AAE1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#236C7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #505aae;
/* rgb */ color: rgb(80, 90, 174);
/* oklch */ color: oklch(50.2% 0.132 275.5);
Tailwind
colors: {
  custom: {
    50: '#8888c7',
    500: '#505aae',
    950: '#000000',
  },
}
SCSS
$custom: #505aae;
$custom-light: #8888c7;
$custom-dark: #000000;
JSON
{
  "hex": "#505aae",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 233.617,
    "s": 37.008,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.13246,
    "h": 275.5
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#505AAE
secondary
#C2BE98
accent
#C15BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #505AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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