#505DE5#505DE5

#505DE5 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.8% C 0.204 H 273.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#505DE5
RGBrgb(80, 93, 229)
HSLhsl(235, 74%, 61%)
HSVhsv(235, 65%, 90%)
CMYKcmyk(65.1%, 59.4%, 0%, 10.2%)
CIE-LABlab(45.89, 37.21, -70.64)
CIE-LCHlch(45.89, 79.84, 297.78°)
OKLaboklab(54.83% 0.0122 -0.2035)
OKLCHoklch(54.83% 0.204 273.4)
XYZxyz(21.3608, 15.1894, 75.9197)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DE5 #E5D850
analogous
#50A7E5 #505DE5 #8D50E5
triadic
#505DE5 #E5505D #5DE550
tetradic
#505DE5 #E550A7 #E5D850 #50E58D
square
#505DE5 #E550A7 #E5D850 #50E58D
split-complementary
#505DE5 #E58D50 #A7E550
monochromatic
#1824A2 #2030D8 #505DE5 #858EED #BBC0F5

Accessibility & contrast

On white

5.20
#505DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#505DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DE5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DE5#FFFFFF#000000##FFFFFF
##505DE51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #505de5;
/* rgb */ color: rgb(80, 93, 229);
/* oklch */ color: oklch(54.8% 0.204 273.4);
Tailwind
colors: {
  custom: {
    50: '#918bee',
    500: '#505de5',
    950: '#000000',
  },
}
SCSS
$custom: #505de5;
$custom-light: #918bee;
$custom-dark: #000000;
JSON
{
  "hex": "#505de5",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 234.765,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.20386,
    "h": 273.4
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#505DE5
secondary
#E5E0AC
accent
#C50FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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