#505ED3#505ED3

#505ED3 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.179 H 273.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#505ED3
RGBrgb(80, 94, 211)
HSLhsl(234, 60%, 57%)
HSVhsv(234, 62%, 83%)
CMYKcmyk(62.1%, 55.5%, 0%, 17.3%)
CIE-LABlab(44.82, 30.54, -62.14)
CIE-LCHlch(44.82, 69.24, 296.17°)
OKLaboklab(53.62% 0.0112 -0.1785)
OKLCHoklch(53.62% 0.179 273.6)
XYZxyz(19.0650, 14.4125, 63.3926)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ED3 #D3C550
analogous
#509FD3 #505ED3 #8450D3
triadic
#505ED3 #D3505E #5ED350
tetradic
#505ED3 #D3509F #D3C550 #50D384
square
#505ED3 #D3509F #D3C550 #50D384
split-complementary
#505ED3 #D38450 #9FD350
monochromatic
#222D87 #2E3DB8 #505ED3 #818BDF #B2B8EC

Accessibility & contrast

On white

5.41
#505ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#505ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ED3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ED3#FFFFFF#000000##FFFFFF
##505ED31.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505ed3;
/* rgb */ color: rgb(80, 94, 211);
/* oklch */ color: oklch(53.6% 0.179 273.6);
Tailwind
colors: {
  custom: {
    50: '#8e8be1',
    500: '#505ed3',
    950: '#000000',
  },
}
SCSS
$custom: #505ed3;
$custom-light: #8e8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#505ed3",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 211
  },
  "hsl": {
    "h": 233.588,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.17885,
    "h": 273.6
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

primary
#505ED3
secondary
#DAD4A5
accent
#D245E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #505ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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