#505DCA#505DCA

#505DCA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.168 H 274.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#505DCA
RGBrgb(80, 93, 202)
HSLhsl(234, 54%, 55%)
HSVhsv(234, 60%, 79%)
CMYKcmyk(60.4%, 54%, 0%, 20.8%)
CIE-LABlab(43.94, 28.13, -58.39)
CIE-LCHlch(43.94, 64.82, 295.72°)
OKLaboklab(52.76% 0.0118 -0.1675)
OKLCHoklch(52.76% 0.168 274)
XYZxyz(17.8798, 13.7970, 57.5865)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DCA #CABD50
analogous
#509ACA #505DCA #8050CA
triadic
#505DCA #CA505D #5DCA50
tetradic
#505DCA #CA509A #CABD50 #50CA80
square
#505DCA #CA509A #CABD50 #50CA80
split-complementary
#505DCA #CA8050 #9ACA50
monochromatic
#252E7A #3340A9 #505DCA #7F88D8 #AEB4E6

Accessibility & contrast

On white

5.59
#505DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#505DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DCA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DCA#FFFFFF#000000##FFFFFF
##505DCA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136DCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #505dca;
/* rgb */ color: rgb(80, 93, 202);
/* oklch */ color: oklch(52.8% 0.168 274.0);
Tailwind
colors: {
  custom: {
    50: '#8c8adb',
    500: '#505dca',
    950: '#000000',
  },
}
SCSS
$custom: #505dca;
$custom-light: #8c8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#505dca",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 233.607,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.1679,
    "h": 274
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#505DCA
secondary
#D4CFA1
accent
#CD4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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