#505AE2#505AE2

#505AE2 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.1% C 0.204 H 274.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#505AE2
RGBrgb(80, 90, 226)
HSLhsl(236, 72%, 60%)
HSVhsv(236, 65%, 89%)
CMYKcmyk(64.6%, 60.2%, 0%, 11.4%)
CIE-LABlab(44.95, 38.04, -70.47)
CIE-LCHlch(44.95, 80.08, 298.36°)
OKLaboklab(54.07% 0.0147 -0.203)
OKLCHoklch(54.07% 0.204 274.1)
XYZxyz(20.6874, 14.5070, 73.6467)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505AE2 #E2D850
analogous
#50A3E2 #505AE2 #8F50E2
triadic
#505AE2 #E2505A #5AE250
tetradic
#505AE2 #E250A3 #E2D850 #50E28F
square
#505AE2 #E250A3 #E2D850 #50E28F
split-complementary
#505AE2 #E28F50 #A3E250
monochromatic
#1A239E #232FD2 #505AE2 #848CEB #B9BDF3

Accessibility & contrast

On white

5.38
#505AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#505AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505AE2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505AE2#FFFFFF#000000##FFFFFF
##505AE21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505ae2;
/* rgb */ color: rgb(80, 90, 226);
/* oklch */ color: oklch(54.1% 0.204 274.1);
Tailwind
colors: {
  custom: {
    50: '#9188ec',
    500: '#505ae2',
    950: '#000000',
  },
}
SCSS
$custom: #505ae2;
$custom-light: #9188ec;
$custom-dark: #000000;
JSON
{
  "hex": "#505ae2",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 235.89,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.54067,
    "c": 0.20356,
    "h": 274.1
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#505AE2
secondary
#E3DFAB
accent
#E239EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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