#505AE5#505AE5

#505AE5 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.3% C 0.207 H 274.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#505AE5
RGBrgb(80, 90, 229)
HSLhsl(236, 74%, 61%)
HSVhsv(236, 65%, 90%)
CMYKcmyk(65.1%, 60.7%, 0%, 10.2%)
CIE-LABlab(45.18, 39.04, -71.79)
CIE-LCHlch(45.18, 81.72, 298.54°)
OKLaboklab(54.31% 0.0146 -0.2069)
OKLCHoklch(54.31% 0.207 274)
XYZxyz(21.1026, 14.6731, 75.8337)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505AE5 #E5DB50
analogous
#50A4E5 #505AE5 #9050E5
triadic
#505AE5 #E5505A #5AE550
tetradic
#505AE5 #E550A4 #E5DB50 #50E590
square
#505AE5 #E550A4 #E5DB50 #50E590
split-complementary
#505AE5 #E59050 #A4E550
monochromatic
#1821A2 #202CD8 #505AE5 #858CED #BBBEF5

Accessibility & contrast

On white

5.34
#505AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#505AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505AE5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505AE5#FFFFFF#000000##FFFFFF
##505AE51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505ae5;
/* rgb */ color: rgb(80, 90, 229);
/* oklch */ color: oklch(54.3% 0.207 274.0);
Tailwind
colors: {
  custom: {
    50: '#9188ee',
    500: '#505ae5',
    950: '#000000',
  },
}
SCSS
$custom: #505ae5;
$custom-light: #9188ee;
$custom-dark: #000000;
JSON
{
  "hex": "#505ae5",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 235.973,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.20743,
    "h": 274
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#505AE5
secondary
#E5E1AC
accent
#C90FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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