#505DE1#505DE1

#505DE1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.199 H 273.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#505DE1
RGBrgb(80, 93, 225)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 64%, 88%)
CMYKcmyk(64.4%, 58.7%, 0%, 11.8%)
CIE-LABlab(45.59, 35.87, -68.86)
CIE-LCHlch(45.59, 77.65, 297.52°)
OKLaboklab(54.52% 0.0123 -0.1983)
OKLCHoklch(54.52% 0.199 273.5)
XYZxyz(20.8087, 14.9686, 73.0122)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DE1 #E1D450
analogous
#50A5E1 #505DE1 #8C50E1
triadic
#505DE1 #E1505D #5DE150
tetradic
#505DE1 #E150A5 #E1D450 #50E18C
square
#505DE1 #E150A5 #E1D450 #50E18C
split-complementary
#505DE1 #E18C50 #A5E150
monochromatic
#1B269C #2433D0 #505DE1 #848DEA #B8BEF3

Accessibility & contrast

On white

5.26
#505DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #505DE1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DE1#FFFFFF#000000##FFFFFF
##505DE11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505de1;
/* rgb */ color: rgb(80, 93, 225);
/* oklch */ color: oklch(54.5% 0.199 273.5);
Tailwind
colors: {
  custom: {
    50: '#908beb',
    500: '#505de1',
    950: '#000000',
  },
}
SCSS
$custom: #505de1;
$custom-light: #908beb;
$custom-dark: #000000;
JSON
{
  "hex": "#505de1",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 225
  },
  "hsl": {
    "h": 234.621,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54517,
    "c": 0.19865,
    "h": 273.5
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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