#505DE3#505DE3

#505DE3 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.7% C 0.201 H 273.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#505DE3
RGBrgb(80, 93, 227)
HSLhsl(235, 72%, 60%)
HSVhsv(235, 65%, 89%)
CMYKcmyk(64.8%, 59%, 0%, 11%)
CIE-LABlab(45.74, 36.54, -69.75)
CIE-LCHlch(45.74, 78.74, 297.65°)
OKLaboklab(54.68% 0.0123 -0.2009)
OKLCHoklch(54.68% 0.201 273.5)
XYZxyz(21.0831, 15.0784, 74.4575)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DE3 #E3D650
analogous
#50A6E3 #505DE3 #8D50E3
triadic
#505DE3 #E3505D #5DE350
tetradic
#505DE3 #E350A6 #E3D650 #50E38D
square
#505DE3 #E350A6 #E3D650 #50E38D
split-complementary
#505DE3 #E38D50 #A6E350
monochromatic
#19259F #2232D4 #505DE3 #858EEB #BABFF4

Accessibility & contrast

On white

5.23
#505DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#505DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DE3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DE3#FFFFFF#000000##FFFFFF
##505DE31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505de3;
/* rgb */ color: rgb(80, 93, 227);
/* oklch */ color: oklch(54.7% 0.201 273.5);
Tailwind
colors: {
  custom: {
    50: '#918bed',
    500: '#505de3',
    950: '#000000',
  },
}
SCSS
$custom: #505de3;
$custom-light: #918bed;
$custom-dark: #000000;
JSON
{
  "hex": "#505de3",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 234.694,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.20125,
    "h": 273.5
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#505DE3
secondary
#E4DFAB
accent
#C311D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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