#505CDF#505CDF

#505CDF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.197 H 273.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#505CDF
RGBrgb(80, 92, 223)
HSLhsl(235, 69%, 59%)
HSVhsv(235, 64%, 87%)
CMYKcmyk(64.1%, 58.7%, 0%, 12.5%)
CIE-LABlab(45.20, 35.81, -68.36)
CIE-LCHlch(45.20, 77.18, 297.65°)
OKLaboklab(54.18% 0.0131 -0.1968)
OKLCHoklch(54.18% 0.197 273.8)
XYZxyz(20.4503, 14.6857, 71.5547)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CDF #DFD350
analogous
#50A4DF #505CDF #8C50DF
triadic
#505CDF #DF505C #5CDF50
tetradic
#505CDF #DF50A4 #DFD350 #50DF8C
square
#505CDF #DF50A4 #DFD350 #50DF8C
split-complementary
#505CDF #DF8C50 #A4DF50
monochromatic
#1C2699 #2533CC #505CDF #848CE8 #B7BCF2

Accessibility & contrast

On white

5.33
#505CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#505CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CDF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CDF#FFFFFF#000000##FFFFFF
##505CDF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505cdf;
/* rgb */ color: rgb(80, 92, 223);
/* oklch */ color: oklch(54.2% 0.197 273.8);
Tailwind
colors: {
  custom: {
    50: '#908aea',
    500: '#505cdf',
    950: '#000000',
  },
}
SCSS
$custom: #505cdf;
$custom-light: #908aea;
$custom-dark: #000000;
JSON
{
  "hex": "#505cdf",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 234.965,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.19725,
    "h": 273.8
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#505CDF
secondary
#E1DDAA
accent
#DD3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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