#505EDA#505EDA

#505EDA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.188 H 273.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#505EDA
RGBrgb(80, 94, 218)
HSLhsl(234, 65%, 58%)
HSVhsv(234, 63%, 85%)
CMYKcmyk(63.3%, 56.9%, 0%, 14.5%)
CIE-LABlab(45.32, 32.90, -65.33)
CIE-LCHlch(45.32, 73.14, 296.73°)
OKLaboklab(54.15% 0.0114 -0.1879)
OKLCHoklch(54.15% 0.188 273.5)
XYZxyz(19.9617, 14.7711, 68.1152)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EDA #DACC50
analogous
#50A3DA #505EDA #8750DA
triadic
#505EDA #DA505E #5EDA50
tetradic
#505EDA #DA50A3 #DACC50 #50DA87
square
#505EDA #DA50A3 #DACC50 #50DA87
split-complementary
#505EDA #DA8750 #A3DA50
monochromatic
#1F2A91 #2939C3 #505EDA #838CE5 #B5BBEF

Accessibility & contrast

On white

5.31
#505EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#505EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EDA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EDA#FFFFFF#000000##FFFFFF
##505EDA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505eda;
/* rgb */ color: rgb(80, 94, 218);
/* oklch */ color: oklch(54.2% 0.188 273.5);
Tailwind
colors: {
  custom: {
    50: '#8f8be6',
    500: '#505eda',
    950: '#000000',
  },
}
SCSS
$custom: #505eda;
$custom-light: #8f8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#505eda",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 233.913,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.18822,
    "h": 273.5
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#505EDA
secondary
#DED9A8
accent
#D740E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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