#505ABD#505ABD

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

Color values

HEX#505ABD
RGBrgb(80, 90, 189)
HSLhsl(234, 45%, 53%)
HSVhsv(234, 58%, 74%)
CMYKcmyk(57.7%, 52.4%, 0%, 25.9%)
CIE-LABlab(42.29, 25.65, -53.52)
CIE-LCHlch(42.29, 59.35, 295.61°)
OKLaboklab(51.25% 0.014 -0.1532)
OKLCHoklch(51.25% 0.154 275.2)
XYZxyz(16.1468, 12.6907, 49.7329)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ABD #BDB350
analogous
#5091BD #505ABD #7C50BD
triadic
#505ABD #BD505A #5ABD50
tetradic
#505ABD #BD5091 #BDB350 #50BD7C
square
#505ABD #BD5091 #BDB350 #50BD7C
split-complementary
#505ABD #BD7C50 #91BD50
monochromatic
#282E6A #394297 #505ABD #7C84CE #A9AEDF

Accessibility & contrast

On white

5.93
#505ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#505ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ABD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ABD#FFFFFF#000000##FFFFFF
##505ABD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C0
Deuteranopia (green-blind)
#055FBB
Tritanopia (blue-blind)
#067183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #505abd;
/* rgb */ color: rgb(80, 90, 189);
/* oklch */ color: oklch(51.2% 0.154 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a88d1',
    500: '#505abd',
    950: '#000000',
  },
}
SCSS
$custom: #505abd;
$custom-light: #8a88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#505abd",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 234.495,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.15381,
    "h": 275.2
  },
  "luminance": 0.12692
}

Semantic roles & 50–950 ramp

primary
#505ABD
secondary
#CCC89D
accent
#C953D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #505ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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