#505EDC#505EDC

#505EDC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.191 H 273.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#505EDC
RGBrgb(80, 94, 220)
HSLhsl(234, 67%, 59%)
HSVhsv(234, 64%, 86%)
CMYKcmyk(63.6%, 57.3%, 0%, 13.7%)
CIE-LABlab(45.46, 33.57, -66.23)
CIE-LCHlch(45.46, 74.25, 296.88°)
OKLaboklab(54.31% 0.0114 -0.1905)
OKLCHoklch(54.31% 0.191 273.4)
XYZxyz(20.2249, 14.8764, 69.5019)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EDC #DCCE50
analogous
#50A4DC #505EDC #8850DC
triadic
#505EDC #DC505E #5EDC50
tetradic
#505EDC #DC50A4 #DCCE50 #50DC88
square
#505EDC #DC50A4 #DCCE50 #50DC88
split-complementary
#505EDC #DC8850 #A4DC50
monochromatic
#1E2994 #2838C7 #505EDC #838DE6 #B6BCF0

Accessibility & contrast

On white

5.28
#505EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#505EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EDC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EDC#FFFFFF#000000##FFFFFF
##505EDC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505edc;
/* rgb */ color: rgb(80, 94, 220);
/* oklch */ color: oklch(54.3% 0.191 273.4);
Tailwind
colors: {
  custom: {
    50: '#8f8be8',
    500: '#505edc',
    950: '#000000',
  },
}
SCSS
$custom: #505edc;
$custom-light: #8f8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#505edc",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 234,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.19086,
    "h": 273.4
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#505EDC
secondary
#DFDAA8
accent
#D83EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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