#505CDD#505CDD

#505CDD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.195 H 273.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#505CDD
RGBrgb(80, 92, 221)
HSLhsl(235, 67%, 59%)
HSVhsv(235, 64%, 87%)
CMYKcmyk(63.8%, 58.4%, 0%, 13.3%)
CIE-LABlab(45.05, 35.14, -67.47)
CIE-LCHlch(45.05, 76.07, 297.51°)
OKLaboklab(54.02% 0.0131 -0.1942)
OKLCHoklch(54.02% 0.195 273.9)
XYZxyz(20.1822, 14.5785, 70.1430)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CDD #DDD150
analogous
#50A2DD #505CDD #8B50DD
triadic
#505CDD #DD505C #5CDD50
tetradic
#505CDD #DD50A2 #DDD150 #50DD8B
square
#505CDD #DD50A2 #DDD150 #50DD8B
split-complementary
#505CDD #DD8B50 #A2DD50
monochromatic
#1D2796 #2735C9 #505CDD #838CE7 #B6BBF1

Accessibility & contrast

On white

5.36
#505CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#505CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CDD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CDD#FFFFFF#000000##FFFFFF
##505CDD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505cdd;
/* rgb */ color: rgb(80, 92, 221);
/* oklch */ color: oklch(54.0% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#908ae8',
    500: '#505cdd',
    950: '#000000',
  },
}
SCSS
$custom: #505cdd;
$custom-light: #908ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#505cdd",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 234.894,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.19463,
    "h": 273.9
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#505CDD
secondary
#E0DBA9
accent
#DC3DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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