#505DC0#505DC0

#505DC0 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.154 H 274.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#505DC0
RGBrgb(80, 93, 192)
HSLhsl(233, 47%, 53%)
HSVhsv(233, 58%, 75%)
CMYKcmyk(58.3%, 51.6%, 0%, 24.7%)
CIE-LABlab(43.27, 24.76, -53.69)
CIE-LCHlch(43.27, 59.13, 294.76°)
OKLaboklab(52.05% 0.0111 -0.1536)
OKLCHoklch(52.05% 0.154 274.1)
XYZxyz(16.7339, 13.3387, 51.5518)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DC0 #C0B350
analogous
#5095C0 #505DC0 #7B50C0
triadic
#505DC0 #C0505D #5DC050
tetradic
#505DC0 #C05095 #C0B350 #50C07B
square
#505DC0 #C05095 #C0B350 #50C07B
split-complementary
#505DC0 #C07B50 #95C050
monochromatic
#28306E #38439B #505DC0 #7D87D0 #AAB0E0

Accessibility & contrast

On white

5.73
#505DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#505DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DC0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DC0#FFFFFF#000000##FFFFFF
##505DC01.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC4
Deuteranopia (green-blind)
#0B62BE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #505dc0;
/* rgb */ color: rgb(80, 93, 192);
/* oklch */ color: oklch(52.0% 0.154 274.1);
Tailwind
colors: {
  custom: {
    50: '#8b8ad4',
    500: '#505dc0',
    950: '#000000',
  },
}
SCSS
$custom: #505dc0;
$custom-light: #8b8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#505dc0",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 233.036,
    "s": 47.059,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.15405,
    "h": 274.1
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#505DC0
secondary
#CEC89E
accent
#C751D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #505DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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