#505AA2#505AA2

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

Color values

HEX#505AA2
RGBrgb(80, 90, 162)
HSLhsl(233, 34%, 47%)
HSVhsv(233, 51%, 64%)
CMYKcmyk(50.6%, 44.4%, 0%, 36.5%)
CIE-LABlab(40.61, 16.74, -40.31)
CIE-LCHlch(40.61, 43.65, 292.56°)
OKLaboklab(49.44% 0.0109 -0.1144)
OKLCHoklch(49.44% 0.115 275.4)
XYZxyz(13.4840, 11.6256, 35.7089)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505AA2 #A29850
analogous
#5083A2 #505AA2 #6F50A2
triadic
#505AA2 #A2505A #5AA250
tetradic
#505AA2 #A25083 #A29850 #50A26F
square
#505AA2 #A25083 #A29850 #50A26F
split-complementary
#505AA2 #A26F50 #83A250
monochromatic
#282C50 #3C4379 #505AA2 #757DBB #9EA4CF

Accessibility & contrast

On white

6.32
#505AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #505AA2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505AA2#FFFFFF#000000##FFFFFF
##505AA21.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#2F6976
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #505aa2;
/* rgb */ color: rgb(80, 90, 162);
/* oklch */ color: oklch(49.4% 0.115 275.4);
Tailwind
colors: {
  custom: {
    50: '#8688be',
    500: '#505aa2',
    950: '#000000',
  },
}
SCSS
$custom: #505aa2;
$custom-light: #8688be;
$custom-dark: #000000;
JSON
{
  "hex": "#505aa2",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 232.683,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.11488,
    "h": 275.4
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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