#505CCE#505CCE

#505CCE is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.9% C 0.175 H 274.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#505CCE
RGBrgb(80, 92, 206)
HSLhsl(234, 56%, 56%)
HSVhsv(234, 61%, 81%)
CMYKcmyk(61.2%, 55.3%, 0%, 19.2%)
CIE-LABlab(43.97, 30.10, -60.66)
CIE-LCHlch(43.97, 67.71, 296.39°)
OKLaboklab(52.87% 0.0129 -0.1741)
OKLCHoklch(52.87% 0.175 274.2)
XYZxyz(18.2723, 13.8145, 60.0841)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CCE #CEC250
analogous
#509BCE #505CCE #8350CE
triadic
#505CCE #CE505C #5CCE50
tetradic
#505CCE #CE509B #CEC250 #50CE83
square
#505CCE #CE509B #CEC250 #50CE83
split-complementary
#505CCE #CE8350 #9BCE50
monochromatic
#242D80 #313DB0 #505CCE #8089DB #B0B5E9

Accessibility & contrast

On white

5.58
#505CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #505CCE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CCE#FFFFFF#000000##FFFFFF
##505CCE1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #505cce;
/* rgb */ color: rgb(80, 92, 206);
/* oklch */ color: oklch(52.9% 0.175 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d8ade',
    500: '#505cce',
    950: '#000000',
  },
}
SCSS
$custom: #505cce;
$custom-light: #8d8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#505cce",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 234.286,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.17463,
    "h": 274.2
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#505CCE
secondary
#D7D2A3
accent
#D148E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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