#505CA9#505CA9

#505CA9 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.122 H 274.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#505CA9
RGBrgb(80, 92, 169)
HSLhsl(232, 36%, 49%)
HSVhsv(232, 53%, 66%)
CMYKcmyk(52.7%, 45.6%, 0%, 33.7%)
CIE-LABlab(41.57, 17.76, -42.94)
CIE-LCHlch(41.57, 46.47, 292.46°)
OKLaboklab(50.3% 0.0096 -0.1221)
OKLCHoklch(50.3% 0.122 274.5)
XYZxyz(14.2946, 12.2234, 39.1345)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CA9 #A99D50
analogous
#5089A9 #505CA9 #7150A9
triadic
#505CA9 #A9505C #5CA950
tetradic
#505CA9 #A95089 #A99D50 #50A971
square
#505CA9 #A95089 #A99D50 #50A971
split-complementary
#505CA9 #A97150 #89A950
monochromatic
#292F56 #3C457F #505CA9 #7781BF #A1A8D2

Accessibility & contrast

On white

6.10
#505CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#505CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CA9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CA9#FFFFFF#000000##FFFFFF
##505CA91.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AC
Deuteranopia (green-blind)
#315FA7
Tritanopia (blue-blind)
#286D7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #505ca9;
/* rgb */ color: rgb(80, 92, 169);
/* oklch */ color: oklch(50.3% 0.122 274.5);
Tailwind
colors: {
  custom: {
    50: '#8789c3',
    500: '#505ca9',
    950: '#000000',
  },
}
SCSS
$custom: #505ca9;
$custom-light: #8789c3;
$custom-dark: #000000;
JSON
{
  "hex": "#505ca9",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 231.91,
    "s": 35.743,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.12243,
    "h": 274.5
  },
  "luminance": 0.12224
}

Semantic roles & 50–950 ramp

primary
#505CA9
secondary
#C0BA95
accent
#BD5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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