#505CE9#505CE9

#505CE9 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.0% C 0.210 H 273.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#505CE9
RGBrgb(80, 92, 233)
HSLhsl(235, 78%, 61%)
HSVhsv(235, 66%, 91%)
CMYKcmyk(65.7%, 60.5%, 0%, 8.6%)
CIE-LABlab(45.96, 39.16, -72.78)
CIE-LCHlch(45.96, 82.65, 298.28°)
OKLaboklab(54.98% 0.0129 -0.2098)
OKLCHoklch(54.98% 0.21 273.5)
XYZxyz(21.8385, 15.2410, 78.8659)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CE9 #E9DD50
analogous
#50A9E9 #505CE9 #9150E9
triadic
#505CE9 #E9505C #5CE950
tetradic
#505CE9 #E950A9 #E9DD50 #50E991
square
#505CE9 #E950A9 #E9DD50 #50E991
split-complementary
#505CE9 #E99150 #A9E950
monochromatic
#1521A9 #1C2BE0 #505CE9 #868FF0 #BDC1F7

Accessibility & contrast

On white

5.19
#505CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#505CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CE9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CE9#FFFFFF#000000##FFFFFF
##505CE91.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #505ce9;
/* rgb */ color: rgb(80, 92, 233);
/* oklch */ color: oklch(55.0% 0.210 273.5);
Tailwind
colors: {
  custom: {
    50: '#928af1',
    500: '#505ce9',
    950: '#000000',
  },
}
SCSS
$custom: #505ce9;
$custom-light: #928af1;
$custom-dark: #000000;
JSON
{
  "hex": "#505ce9",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 235.294,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54982,
    "c": 0.21019,
    "h": 273.5
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#505CE9
secondary
#E7E3AE
accent
#CA0CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #505CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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