#505BA2#505BA2

#505BA2 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.6% C 0.113 H 274.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#505BA2
RGBrgb(80, 91, 162)
HSLhsl(232, 34%, 47%)
HSVhsv(232, 51%, 64%)
CMYKcmyk(50.6%, 43.8%, 0%, 36.5%)
CIE-LABlab(40.89, 16.11, -39.87)
CIE-LCHlch(40.89, 43.00, 292.00°)
OKLaboklab(49.65% 0.0096 -0.1131)
OKLCHoklch(49.65% 0.113 274.9)
XYZxyz(13.5689, 11.7955, 35.7372)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BA2 #A29750
analogous
#5084A2 #505BA2 #6E50A2
triadic
#505BA2 #A2505B #5BA250
tetradic
#505BA2 #A25084 #A29750 #50A26E
square
#505BA2 #A25084 #A29750 #50A26E
split-complementary
#505BA2 #A26E50 #84A250
monochromatic
#282D50 #3C4479 #505BA2 #757EBB #9EA4CF

Accessibility & contrast

On white

6.25
#505BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#505BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BA2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BA2#FFFFFF#000000##FFFFFF
##505BA21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#365DA0
Tritanopia (blue-blind)
#2F6A76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #505ba2;
/* rgb */ color: rgb(80, 91, 162);
/* oklch */ color: oklch(49.6% 0.113 274.9);
Tailwind
colors: {
  custom: {
    50: '#8689be',
    500: '#505ba2',
    950: '#000000',
  },
}
SCSS
$custom: #505ba2;
$custom-light: #8689be;
$custom-dark: #000000;
JSON
{
  "hex": "#505ba2",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 231.951,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49647,
    "c": 0.11349,
    "h": 274.9
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#505BA2
secondary
#BCB692
accent
#BB5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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