#505DE2#505DE2

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

Color values

HEX#505DE2
RGBrgb(80, 93, 226)
HSLhsl(235, 72%, 60%)
HSVhsv(235, 65%, 89%)
CMYKcmyk(64.6%, 58.8%, 0%, 11.4%)
CIE-LABlab(45.67, 36.21, -69.31)
CIE-LCHlch(45.67, 78.20, 297.58°)
OKLaboklab(54.6% 0.0123 -0.1996)
OKLCHoklch(54.6% 0.2 273.5)
XYZxyz(20.9455, 15.0233, 73.7327)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DE2 #E2D550
analogous
#50A6E2 #505DE2 #8C50E2
triadic
#505DE2 #E2505D #5DE250
tetradic
#505DE2 #E250A6 #E2D550 #50E28C
square
#505DE2 #E250A6 #E2D550 #50E28C
split-complementary
#505DE2 #E28C50 #A6E250
monochromatic
#1A269E #2332D2 #505DE2 #848EEB #B9BEF3

Accessibility & contrast

On white

5.24
#505DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#505DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DE2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DE2#FFFFFF#000000##FFFFFF
##505DE21.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505de2;
/* rgb */ color: rgb(80, 93, 226);
/* oklch */ color: oklch(54.6% 0.200 273.5);
Tailwind
colors: {
  custom: {
    50: '#908bec',
    500: '#505de2',
    950: '#000000',
  },
}
SCSS
$custom: #505de2;
$custom-light: #908bec;
$custom-dark: #000000;
JSON
{
  "hex": "#505de2",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 234.658,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.54596,
    "c": 0.19996,
    "h": 273.5
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#505DE2
secondary
#E3DEAB
accent
#DE39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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