#505ECD#505ECD

#505ECD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.2% C 0.171 H 273.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#505ECD
RGBrgb(80, 94, 205)
HSLhsl(233, 56%, 56%)
HSVhsv(233, 61%, 80%)
CMYKcmyk(61%, 54.1%, 0%, 19.6%)
CIE-LABlab(44.40, 28.51, -59.38)
CIE-LCHlch(44.40, 65.87, 295.65°)
OKLaboklab(53.18% 0.011 -0.1704)
OKLCHoklch(53.18% 0.171 273.7)
XYZxyz(18.3268, 14.1172, 59.5049)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ECD #CDBF50
analogous
#509CCD #505ECD #8050CD
triadic
#505ECD #CD505E #5ECD50
tetradic
#505ECD #CD509C #CDBF50 #50CD80
square
#505ECD #CD509C #CDBF50 #50CD80
split-complementary
#505ECD #CD8050 #9CCD50
monochromatic
#242E7E #3240AE #505ECD #808ADB #AFB6E8

Accessibility & contrast

On white

5.49
#505ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#505ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ECD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ECD#FFFFFF#000000##FFFFFF
##505ECD1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6FD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505ecd;
/* rgb */ color: rgb(80, 94, 205);
/* oklch */ color: oklch(53.2% 0.171 273.7);
Tailwind
colors: {
  custom: {
    50: '#8d8bdd',
    500: '#505ecd',
    950: '#000000',
  },
}
SCSS
$custom: #505ecd;
$custom-light: #8d8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#505ecd",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 233.28,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.17071,
    "h": 273.7
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#505ECD
secondary
#D6D0A2
accent
#CE49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #505ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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