#505CD0#505CD0

#505CD0 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.177 H 274.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#505CD0
RGBrgb(80, 92, 208)
HSLhsl(234, 58%, 56%)
HSVhsv(234, 62%, 82%)
CMYKcmyk(61.5%, 55.8%, 0%, 18.4%)
CIE-LABlab(44.11, 30.77, -61.58)
CIE-LCHlch(44.11, 68.84, 296.55°)
OKLaboklab(53.02% 0.013 -0.1768)
OKLCHoklch(53.02% 0.177 274.2)
XYZxyz(18.5168, 13.9123, 61.3718)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CD0 #D0C450
analogous
#509CD0 #505CD0 #8450D0
triadic
#505CD0 #D0505C #5CD050
tetradic
#505CD0 #D0509C #D0C450 #50D084
square
#505CD0 #D0509C #D0C450 #50D084
split-complementary
#505CD0 #D08450 #9CD050
monochromatic
#232C83 #303CB3 #505CD0 #8089DD #B0B6EA

Accessibility & contrast

On white

5.55
#505CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#505CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CD0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CD0#FFFFFF#000000##FFFFFF
##505CD01.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #505cd0;
/* rgb */ color: rgb(80, 92, 208);
/* oklch */ color: oklch(53.0% 0.177 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d8adf',
    500: '#505cd0',
    950: '#000000',
  },
}
SCSS
$custom: #505cd0;
$custom-light: #8d8adf;
$custom-dark: #000000;
JSON
{
  "hex": "#505cd0",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 234.375,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.17733,
    "h": 274.2
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#505CD0
secondary
#D8D3A4
accent
#D247E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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