#505EAA#505EAA

#505EAA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.121 H 273.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#505EAA
RGBrgb(80, 94, 170)
HSLhsl(231, 36%, 49%)
HSVhsv(231, 53%, 67%)
CMYKcmyk(52.9%, 44.7%, 0%, 33.3%)
CIE-LABlab(42.17, 16.81, -42.57)
CIE-LCHlch(42.17, 45.77, 291.55°)
OKLaboklab(50.78% 0.0073 -0.1209)
OKLCHoklch(50.78% 0.121 273.5)
XYZxyz(14.5643, 12.6122, 39.6894)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EAA #AA9C50
analogous
#508BAA #505EAA #6F50AA
triadic
#505EAA #AA505E #5EAA50
tetradic
#505EAA #AA508B #AA9C50 #50AA6F
square
#505EAA #AA508B #AA9C50 #50AA6F
split-complementary
#505EAA #AA6F50 #8BAA50
monochromatic
#293057 #3C4780 #505EAA #7883BF #A1A9D3

Accessibility & contrast

On white

5.96
#505EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#505EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EAA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EAA#FFFFFF#000000##FFFFFF
##505EAA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#3460A8
Tritanopia (blue-blind)
#276E7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #505eaa;
/* rgb */ color: rgb(80, 94, 170);
/* oklch */ color: oklch(50.8% 0.121 273.5);
Tailwind
colors: {
  custom: {
    50: '#878bc4',
    500: '#505eaa',
    950: '#000000',
  },
}
SCSS
$custom: #505eaa;
$custom-light: #878bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#505eaa",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 230.667,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.12117,
    "h": 273.5
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#505EAA
secondary
#C0BA96
accent
#BB5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #505EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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