#505DE7#505DE7

#505DE7 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.0% C 0.206 H 273.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#505DE7
RGBrgb(80, 93, 231)
HSLhsl(235, 76%, 61%)
HSVhsv(235, 65%, 91%)
CMYKcmyk(65.4%, 59.7%, 0%, 9.4%)
CIE-LABlab(46.04, 37.88, -71.52)
CIE-LCHlch(46.04, 80.93, 297.91°)
OKLaboklab(54.99% 0.0122 -0.2061)
OKLCHoklch(54.99% 0.206 273.4)
XYZxyz(21.6416, 15.3018, 77.3989)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DE7 #E7DA50
analogous
#50A9E7 #505DE7 #8E50E7
triadic
#505DE7 #E7505D #5DE750
tetradic
#505DE7 #E750A9 #E7DA50 #50E78E
square
#505DE7 #E750A9 #E7DA50 #50E78E
split-complementary
#505DE7 #E78E50 #A9E750
monochromatic
#1723A6 #1E2EDC #505DE7 #868FEE #BCC1F6

Accessibility & contrast

On white

5.17
#505DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#505DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DE7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DE7#FFFFFF#000000##FFFFFF
##505DE71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #505de7;
/* rgb */ color: rgb(80, 93, 231);
/* oklch */ color: oklch(55.0% 0.206 273.4);
Tailwind
colors: {
  custom: {
    50: '#918bf0',
    500: '#505de7',
    950: '#000000',
  },
}
SCSS
$custom: #505de7;
$custom-light: #918bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#505de7",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 234.834,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.20644,
    "h": 273.4
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#505DE7
secondary
#E6E1AD
accent
#C70DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #505DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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