#505CD3#505CD3

#505CD3 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.181 H 274.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#505CD3
RGBrgb(80, 92, 211)
HSLhsl(235, 60%, 57%)
HSVhsv(235, 62%, 83%)
CMYKcmyk(62.1%, 56.4%, 0%, 17.3%)
CIE-LABlab(44.32, 31.78, -62.95)
CIE-LCHlch(44.32, 70.52, 296.79°)
OKLaboklab(53.25% 0.0131 -0.1809)
OKLCHoklch(53.25% 0.181 274.1)
XYZxyz(18.8894, 14.0614, 63.3341)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CD3 #D3C750
analogous
#509DD3 #505CD3 #8650D3
triadic
#505CD3 #D3505C #5CD350
tetradic
#505CD3 #D3509D #D3C750 #50D386
square
#505CD3 #D3509D #D3C750 #50D386
split-complementary
#505CD3 #D38650 #9DD350
monochromatic
#222B87 #2E3BB8 #505CD3 #818ADF #B2B7EC

Accessibility & contrast

On white

5.51
#505CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#505CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CD3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CD3#FFFFFF#000000##FFFFFF
##505CD31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505cd3;
/* rgb */ color: rgb(80, 92, 211);
/* oklch */ color: oklch(53.3% 0.181 274.1);
Tailwind
colors: {
  custom: {
    50: '#8e8ae1',
    500: '#505cd3',
    950: '#000000',
  },
}
SCSS
$custom: #505cd3;
$custom-light: #8e8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#505cd3",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 234.504,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.18136,
    "h": 274.1
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#505CD3
secondary
#DAD5A5
accent
#D445E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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