#505EA0#505EA0

#505EA0 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.2% C 0.106 H 273.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#505EA0
RGBrgb(80, 94, 160)
HSLhsl(230, 33%, 47%)
HSVhsv(230, 50%, 63%)
CMYKcmyk(50%, 41.3%, 0%, 37.3%)
CIE-LABlab(41.61, 13.56, -37.54)
CIE-LCHlch(41.61, 39.92, 289.85°)
OKLaboklab(50.16% 0.0055 -0.1062)
OKLCHoklch(50.16% 0.106 273)
XYZxyz(13.6541, 12.2481, 34.8955)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EA0 #A09250
analogous
#5086A0 #505EA0 #6A50A0
triadic
#505EA0 #A0505E #5EA050
tetradic
#505EA0 #A05086 #A09250 #50A06A
square
#505EA0 #A05086 #A09250 #50A06A
split-complementary
#505EA0 #A06A50 #86A050
monochromatic
#272E4E #3C4677 #505EA0 #7480B9 #9DA5CE

Accessibility & contrast

On white

6.09
#505EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#505EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EA0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EA0#FFFFFF#000000##FFFFFF
##505EA01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A3
Deuteranopia (green-blind)
#3C5F9F
Tritanopia (blue-blind)
#306C77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #505ea0;
/* rgb */ color: rgb(80, 94, 160);
/* oklch */ color: oklch(50.2% 0.106 273.0);
Tailwind
colors: {
  custom: {
    50: '#868bbc',
    500: '#505ea0',
    950: '#000000',
  },
}
SCSS
$custom: #505ea0;
$custom-light: #868bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#505ea0",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 229.5,
    "s": 33.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5016,
    "c": 0.10638,
    "h": 273
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#505EA0
secondary
#BBB391
accent
#B75EC9
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #505EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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