#505EA3#505EA3

#505EA3 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.3% C 0.111 H 273.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#505EA3
RGBrgb(80, 94, 163)
HSLhsl(230, 34%, 48%)
HSVhsv(230, 51%, 64%)
CMYKcmyk(50.9%, 42.3%, 0%, 36.1%)
CIE-LABlab(41.77, 14.53, -39.06)
CIE-LCHlch(41.77, 41.68, 290.40°)
OKLaboklab(50.34% 0.0061 -0.1107)
OKLCHoklch(50.34% 0.111 273.2)
XYZxyz(13.9197, 12.3544, 36.2944)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EA3 #A39550
analogous
#5087A3 #505EA3 #6C50A3
triadic
#505EA3 #A3505E #5EA350
tetradic
#505EA3 #A35087 #A39550 #50A36C
square
#505EA3 #A35087 #A39550 #50A36C
split-complementary
#505EA3 #A36C50 #87A350
monochromatic
#282F51 #3C467A #505EA3 #7581BB #9EA6CF

Accessibility & contrast

On white

6.05
#505EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#505EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EA3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EA3#FFFFFF#000000##FFFFFF
##505EA31.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A6
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#2D6D78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #505ea3;
/* rgb */ color: rgb(80, 94, 163);
/* oklch */ color: oklch(50.3% 0.111 273.2);
Tailwind
colors: {
  custom: {
    50: '#868bbe',
    500: '#505ea3',
    950: '#000000',
  },
}
SCSS
$custom: #505ea3;
$custom-light: #868bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#505ea3",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 229.88,
    "s": 34.156,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.11085,
    "h": 273.2
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#505EA3
secondary
#BCB592
accent
#B85ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #505EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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