#505BBD#505BBD

#505BBD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.152 H 274.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#505BBD
RGBrgb(80, 91, 189)
HSLhsl(234, 45%, 53%)
HSVhsv(234, 58%, 74%)
CMYKcmyk(57.7%, 51.9%, 0%, 25.9%)
CIE-LABlab(42.55, 25.02, -53.10)
CIE-LCHlch(42.55, 58.70, 295.23°)
OKLaboklab(51.44% 0.013 -0.1519)
OKLCHoklch(51.44% 0.152 274.9)
XYZxyz(16.2317, 12.8606, 49.7612)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BBD #BDB250
analogous
#5091BD #505BBD #7B50BD
triadic
#505BBD #BD505B #5BBD50
tetradic
#505BBD #BD5091 #BDB250 #50BD7B
square
#505BBD #BD5091 #BDB250 #50BD7B
split-complementary
#505BBD #BD7B50 #91BD50
monochromatic
#282F6A #394297 #505BBD #7C85CE #A9AEDF

Accessibility & contrast

On white

5.88
#505BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#505BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BBD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BBD#FFFFFF#000000##FFFFFF
##505BBD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#0B60BB
Tritanopia (blue-blind)
#067183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #505bbd;
/* rgb */ color: rgb(80, 91, 189);
/* oklch */ color: oklch(51.4% 0.152 274.9);
Tailwind
colors: {
  custom: {
    50: '#8a89d1',
    500: '#505bbd',
    950: '#000000',
  },
}
SCSS
$custom: #505bbd;
$custom-light: #8a89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#505bbd",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 233.945,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.15248,
    "h": 274.9
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#505BBD
secondary
#CCC79D
accent
#C853D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #505BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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