#505AE8#505AE8

#505AE8 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.6% C 0.211 H 273.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#505AE8
RGBrgb(80, 90, 232)
HSLhsl(236, 77%, 61%)
HSVhsv(236, 66%, 91%)
CMYKcmyk(65.5%, 61.2%, 0%, 9%)
CIE-LABlab(45.42, 40.04, -73.11)
CIE-LCHlch(45.42, 83.35, 298.71°)
OKLaboklab(54.56% 0.0145 -0.2108)
OKLCHoklch(54.56% 0.211 273.9)
XYZxyz(21.5251, 14.8421, 78.0587)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505AE8 #E8DE50
analogous
#50A6E8 #505AE8 #9250E8
triadic
#505AE8 #E8505A #5AE850
tetradic
#505AE8 #E850A6 #E8DE50 #50E892
square
#505AE8 #E850A6 #E8DE50 #50E892
split-complementary
#505AE8 #E89250 #A6E850
monochromatic
#1620A8 #1D2ADE #505AE8 #868DEF #BCC0F6

Accessibility & contrast

On white

5.29
#505AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#505AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505AE8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505AE8#FFFFFF#000000##FFFFFF
##505AE81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505ae8;
/* rgb */ color: rgb(80, 90, 232);
/* oklch */ color: oklch(54.6% 0.211 273.9);
Tailwind
colors: {
  custom: {
    50: '#9289f0',
    500: '#505ae8',
    950: '#000000',
  },
}
SCSS
$custom: #505ae8;
$custom-light: #9289f0;
$custom-dark: #000000;
JSON
{
  "hex": "#505ae8",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 236.053,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.21126,
    "h": 273.9
  },
  "luminance": 0.14844
}

Semantic roles & 50–950 ramp

primary
#505AE8
secondary
#E6E3AD
accent
#CC0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #505AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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