#505CCD#505CCD

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

Color values

HEX#505CCD
RGBrgb(80, 92, 205)
HSLhsl(234, 56%, 56%)
HSVhsv(234, 61%, 80%)
CMYKcmyk(61%, 55.1%, 0%, 19.6%)
CIE-LABlab(43.90, 29.76, -60.19)
CIE-LCHlch(43.90, 67.15, 296.31°)
OKLaboklab(52.8% 0.0129 -0.1728)
OKLCHoklch(52.8% 0.173 274.3)
XYZxyz(18.1512, 13.7661, 59.4464)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CCD #CDC150
analogous
#509ACD #505CCD #8250CD
triadic
#505CCD #CD505C #5CCD50
tetradic
#505CCD #CD509A #CDC150 #50CD82
square
#505CCD #CD509A #CDC150 #50CD82
split-complementary
#505CCD #CD8250 #9ACD50
monochromatic
#242D7E #323EAE #505CCD #8088DB #AFB5E8

Accessibility & contrast

On white

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

On black

3.75
#505CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##505CCD#FFFFFF#000000##FFFFFF
##505CCD1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #505ccd;
/* rgb */ color: rgb(80, 92, 205);
/* oklch */ color: oklch(52.8% 0.173 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d8add',
    500: '#505ccd',
    950: '#000000',
  },
}
SCSS
$custom: #505ccd;
$custom-light: #8d8add;
$custom-dark: #000000;
JSON
{
  "hex": "#505ccd",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 234.24,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.17327,
    "h": 274.3
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

primary
#505CCD
secondary
#D6D1A2
accent
#D049DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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