#505ED0#505ED0

#505ED0 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.175 H 273.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#505ED0
RGBrgb(80, 94, 208)
HSLhsl(233, 58%, 56%)
HSVhsv(233, 62%, 82%)
CMYKcmyk(61.5%, 54.8%, 0%, 18.4%)
CIE-LABlab(44.61, 29.52, -60.76)
CIE-LCHlch(44.61, 67.56, 295.91°)
OKLaboklab(53.4% 0.0111 -0.1744)
OKLCHoklch(53.4% 0.175 273.6)
XYZxyz(18.6924, 14.2634, 61.4304)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ED0 #D0C250
analogous
#509ED0 #505ED0 #8250D0
triadic
#505ED0 #D0505E #5ED050
tetradic
#505ED0 #D0509E #D0C250 #50D082
square
#505ED0 #D0509E #D0C250 #50D082
split-complementary
#505ED0 #D08250 #9ED050
monochromatic
#232E83 #303EB3 #505ED0 #808ADD #B0B7EA

Accessibility & contrast

On white

5.45
#505ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#505ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ED0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ED0#FFFFFF#000000##FFFFFF
##505ED01.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036FD4
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505ed0;
/* rgb */ color: rgb(80, 94, 208);
/* oklch */ color: oklch(53.4% 0.175 273.6);
Tailwind
colors: {
  custom: {
    50: '#8d8bdf',
    500: '#505ed0',
    950: '#000000',
  },
}
SCSS
$custom: #505ed0;
$custom-light: #8d8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#505ed0",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 208
  },
  "hsl": {
    "h": 233.438,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.17479,
    "h": 273.6
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#505ED0
secondary
#D8D2A4
accent
#D047E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #505ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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