#505AE0#505AE0

#505AE0 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 53.9% C 0.201 H 274.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#505AE0
RGBrgb(80, 90, 224)
HSLhsl(236, 70%, 60%)
HSVhsv(236, 64%, 88%)
CMYKcmyk(64.3%, 59.8%, 0%, 12.2%)
CIE-LABlab(44.80, 37.37, -69.59)
CIE-LCHlch(44.80, 78.99, 298.24°)
OKLaboklab(53.91% 0.0148 -0.2004)
OKLCHoklch(53.91% 0.201 274.2)
XYZxyz(20.4145, 14.3979, 72.2098)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505AE0 #E0D650
analogous
#50A2E0 #505AE0 #8E50E0
triadic
#505AE0 #E0505A #5AE050
tetradic
#505AE0 #E050A2 #E0D650 #50E08E
square
#505AE0 #E050A2 #E0D650 #50E08E
split-complementary
#505AE0 #E08E50 #A2E050
monochromatic
#1B249A #2530CE #505AE0 #848BE9 #B8BCF2

Accessibility & contrast

On white

5.41
#505AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#505AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505AE0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505AE0#FFFFFF#000000##FFFFFF
##505AE01.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505ae0;
/* rgb */ color: rgb(80, 90, 224);
/* oklch */ color: oklch(53.9% 0.201 274.2);
Tailwind
colors: {
  custom: {
    50: '#9088eb',
    500: '#505ae0',
    950: '#000000',
  },
}
SCSS
$custom: #505ae0;
$custom-light: #9088eb;
$custom-dark: #000000;
JSON
{
  "hex": "#505ae0",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 235.833,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.20097,
    "h": 274.2
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#505AE0
secondary
#E2DEAA
accent
#E03BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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