#505EDD#505EDD

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

Color values

HEX#505EDD
RGBrgb(80, 94, 221)
HSLhsl(234, 67%, 59%)
HSVhsv(234, 64%, 87%)
CMYKcmyk(63.8%, 57.5%, 0%, 13.3%)
CIE-LABlab(45.54, 33.91, -66.68)
CIE-LCHlch(45.54, 74.81, 296.96°)
OKLaboklab(54.38% 0.0114 -0.1918)
OKLCHoklch(54.38% 0.192 273.4)
XYZxyz(20.3578, 14.9296, 70.2015)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EDD #DDCF50
analogous
#50A4DD #505EDD #8950DD
triadic
#505EDD #DD505E #5EDD50
tetradic
#505EDD #DD50A4 #DDCF50 #50DD89
square
#505EDD #DD50A4 #DDCF50 #50DD89
split-complementary
#505EDD #DD8950 #A4DD50
monochromatic
#1D2996 #2737C9 #505EDD #838DE7 #B6BCF1

Accessibility & contrast

On white

5.27
#505EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#505EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EDD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EDD#FFFFFF#000000##FFFFFF
##505EDD1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #505edd;
/* rgb */ color: rgb(80, 94, 221);
/* oklch */ color: oklch(54.4% 0.192 273.4);
Tailwind
colors: {
  custom: {
    50: '#908be8',
    500: '#505edd',
    950: '#000000',
  },
}
SCSS
$custom: #505edd;
$custom-light: #908be8;
$custom-dark: #000000;
JSON
{
  "hex": "#505edd",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 234.043,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.19218,
    "h": 273.4
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#505EDD
secondary
#E0DBA9
accent
#D93DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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