#505AA3#505AA3

#505AA3 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.5% C 0.116 H 275.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#505AA3
RGBrgb(80, 90, 163)
HSLhsl(233, 34%, 48%)
HSVhsv(233, 51%, 64%)
CMYKcmyk(50.9%, 44.8%, 0%, 36.1%)
CIE-LABlab(40.67, 17.07, -40.81)
CIE-LCHlch(40.67, 44.24, 292.69°)
OKLaboklab(49.5% 0.011 -0.1158)
OKLCHoklch(49.5% 0.116 275.4)
XYZxyz(13.5732, 11.6613, 36.1789)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505AA3 #A39950
analogous
#5083A3 #505AA3 #6F50A3
triadic
#505AA3 #A3505A #5AA350
tetradic
#505AA3 #A35083 #A39950 #50A36F
square
#505AA3 #A35083 #A39950 #50A36F
split-complementary
#505AA3 #A36F50 #83A350
monochromatic
#282D51 #3C437A #505AA3 #757DBB #9EA4CF

Accessibility & contrast

On white

6.30
#505AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#505AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505AA3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505AA3#FFFFFF#000000##FFFFFF
##505AA31.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A6
Deuteranopia (green-blind)
#345DA1
Tritanopia (blue-blind)
#2E6A76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #505aa3;
/* rgb */ color: rgb(80, 90, 163);
/* oklch */ color: oklch(49.5% 0.116 275.4);
Tailwind
colors: {
  custom: {
    50: '#8688bf',
    500: '#505aa3',
    950: '#000000',
  },
}
SCSS
$custom: #505aa3;
$custom-light: #8688bf;
$custom-dark: #000000;
JSON
{
  "hex": "#505aa3",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 232.771,
    "s": 34.156,
    "l": 47.647
  },
  "oklch": {
    "l": 0.495,
    "c": 0.11636,
    "h": 275.4
  },
  "luminance": 0.11662
}

Semantic roles & 50–950 ramp

primary
#505AA3
secondary
#BCB792
accent
#BD5ECA
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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