#505DCE#505DCE

#505DCE is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.173 H 274.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#505DCE
RGBrgb(80, 93, 206)
HSLhsl(234, 56%, 56%)
HSVhsv(234, 61%, 81%)
CMYKcmyk(61.2%, 54.9%, 0%, 19.2%)
CIE-LABlab(44.22, 29.47, -60.25)
CIE-LCHlch(44.22, 67.07, 296.07°)
OKLaboklab(53.06% 0.012 -0.1729)
OKLCHoklch(53.06% 0.173 274)
XYZxyz(18.3595, 13.9889, 60.1132)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DCE #CEC150
analogous
#509CCE #505DCE #8250CE
triadic
#505DCE #CE505D #5DCE50
tetradic
#505DCE #CE509C #CEC150 #50CE82
square
#505DCE #CE509C #CEC150 #50CE82
split-complementary
#505DCE #CE8250 #9CCE50
monochromatic
#242D80 #313EB0 #505DCE #8089DB #B0B6E9

Accessibility & contrast

On white

5.53
#505DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#505DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DCE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DCE#FFFFFF#000000##FFFFFF
##505DCE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036ED2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505dce;
/* rgb */ color: rgb(80, 93, 206);
/* oklch */ color: oklch(53.1% 0.173 274.0);
Tailwind
colors: {
  custom: {
    50: '#8d8ade',
    500: '#505dce',
    950: '#000000',
  },
}
SCSS
$custom: #505dce;
$custom-light: #8d8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#505dce",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 233.81,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5306,
    "c": 0.17336,
    "h": 274
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#505DCE
secondary
#D7D2A3
accent
#D048E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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