#505CBD#505CBD

#505CBD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.151 H 274.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#505CBD
RGBrgb(80, 92, 189)
HSLhsl(233, 45%, 53%)
HSVhsv(233, 58%, 74%)
CMYKcmyk(57.7%, 51.3%, 0%, 25.9%)
CIE-LABlab(42.81, 24.39, -52.68)
CIE-LCHlch(42.81, 58.06, 294.84°)
OKLaboklab(51.64% 0.0119 -0.1507)
OKLCHoklch(51.64% 0.151 274.5)
XYZxyz(16.3177, 13.0327, 49.7899)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CBD #BDB150
analogous
#5093BD #505CBD #7A50BD
triadic
#505CBD #BD505C #5CBD50
tetradic
#505CBD #BD5093 #BDB150 #50BD7A
square
#505CBD #BD5093 #BDB150 #50BD7A
split-complementary
#505CBD #BD7A50 #93BD50
monochromatic
#282F6A #394397 #505CBD #7C85CE #A9AFDF

Accessibility & contrast

On white

5.82
#505CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#505CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CBD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CBD#FFFFFF#000000##FFFFFF
##505CBD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC0
Deuteranopia (green-blind)
#1161BB
Tritanopia (blue-blind)
#057284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #505cbd;
/* rgb */ color: rgb(80, 92, 189);
/* oklch */ color: oklch(51.6% 0.151 274.5);
Tailwind
colors: {
  custom: {
    50: '#8a8ad1',
    500: '#505cbd',
    950: '#000000',
  },
}
SCSS
$custom: #505cbd;
$custom-light: #8a8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#505cbd",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 233.394,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.15116,
    "h": 274.5
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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