#505ABA#505ABA

#505ABA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.150 H 275.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#505ABA
RGBrgb(80, 90, 186)
HSLhsl(234, 43%, 52%)
HSVhsv(234, 57%, 73%)
CMYKcmyk(57%, 51.6%, 0%, 27.1%)
CIE-LABlab(42.10, 24.65, -52.09)
CIE-LCHlch(42.10, 57.63, 295.33°)
OKLaboklab(51.04% 0.0138 -0.149)
OKLCHoklch(51.04% 0.15 275.3)
XYZxyz(15.8245, 12.5618, 48.0356)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ABA #BAB050
analogous
#508FBA #505ABA #7B50BA
triadic
#505ABA #BA505A #5ABA50
tetradic
#505ABA #BA508F #BAB050 #50BA7B
square
#505ABA #BA508F #BAB050 #50BA7B
split-complementary
#505ABA #BA7B50 #8FBA50
monochromatic
#292E67 #3A4293 #505ABA #7C83CB #A8ADDD

Accessibility & contrast

On white

5.98
#505ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#505ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ABA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ABA#FFFFFF#000000##FFFFFF
##505ABA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BD
Deuteranopia (green-blind)
#115FB8
Tritanopia (blue-blind)
#107081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #505aba;
/* rgb */ color: rgb(80, 90, 186);
/* oklch */ color: oklch(51.0% 0.150 275.3);
Tailwind
colors: {
  custom: {
    50: '#8a88cf',
    500: '#505aba',
    950: '#000000',
  },
}
SCSS
$custom: #505aba;
$custom-light: #8a88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#505aba",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 234.34,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.1496,
    "h": 275.3
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#505ABA
secondary
#CAC69C
accent
#C755D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #505ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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