#505DE0#505DE0

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

Color values

HEX#505DE0
RGBrgb(80, 93, 224)
HSLhsl(235, 70%, 60%)
HSVhsv(235, 64%, 88%)
CMYKcmyk(64.3%, 58.5%, 0%, 12.2%)
CIE-LABlab(45.52, 35.54, -68.42)
CIE-LCHlch(45.52, 77.10, 297.45°)
OKLaboklab(54.44% 0.0123 -0.197)
OKLCHoklch(54.44% 0.197 273.6)
XYZxyz(20.6727, 14.9142, 72.2959)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DE0 #E0D350
analogous
#50A5E0 #505DE0 #8B50E0
triadic
#505DE0 #E0505D #5DE050
tetradic
#505DE0 #E050A5 #E0D350 #50E08B
square
#505DE0 #E050A5 #E0D350 #50E08B
split-complementary
#505DE0 #E08B50 #A5E050
monochromatic
#1B279A #2534CE #505DE0 #848DE9 #B8BDF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505DE0#FFFFFF#000000##FFFFFF
##505DE01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0065DD
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505de0;
/* rgb */ color: rgb(80, 93, 224);
/* oklch */ color: oklch(54.4% 0.197 273.6);
Tailwind
colors: {
  custom: {
    50: '#908beb',
    500: '#505de0',
    950: '#000000',
  },
}
SCSS
$custom: #505de0;
$custom-light: #908beb;
$custom-dark: #000000;
JSON
{
  "hex": "#505de0",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 224
  },
  "hsl": {
    "h": 234.583,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.19734,
    "h": 273.6
  },
  "luminance": 0.14916
}

Semantic roles & 50–950 ramp

primary
#505DE0
secondary
#E2DDAA
accent
#DD3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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