#505ABE#505ABE

#505ABE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.155 H 275.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#505ABE
RGBrgb(80, 90, 190)
HSLhsl(235, 46%, 53%)
HSVhsv(235, 58%, 75%)
CMYKcmyk(57.9%, 52.6%, 0%, 25.5%)
CIE-LABlab(42.36, 25.99, -53.99)
CIE-LCHlch(42.36, 59.92, 295.70°)
OKLaboklab(51.32% 0.0141 -0.1546)
OKLCHoklch(51.32% 0.155 275.2)
XYZxyz(16.2557, 12.7343, 50.3066)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ABE #BEB450
analogous
#5091BE #505ABE #7D50BE
triadic
#505ABE #BE505A #5ABE50
tetradic
#505ABE #BE5091 #BEB450 #50BE7D
square
#505ABE #BE5091 #BEB450 #50BE7D
split-complementary
#505ABE #BE7D50 #91BE50
monochromatic
#282E6C #394198 #505ABE #7D84CF #A9AEDF

Accessibility & contrast

On white

5.92
#505ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#505ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ABE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ABE#FFFFFF#000000##FFFFFF
##505ABE1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#037183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #505abe;
/* rgb */ color: rgb(80, 90, 190);
/* oklch */ color: oklch(51.3% 0.155 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a88d2',
    500: '#505abe',
    950: '#000000',
  },
}
SCSS
$custom: #505abe;
$custom-light: #8a88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#505abe",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 234.545,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.15521,
    "h": 275.2
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#505ABE
secondary
#CDC89D
accent
#CA52D5
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #505ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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