#505CE8#505CE8

#505CE8 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.9% C 0.209 H 273.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#505CE8
RGBrgb(80, 92, 232)
HSLhsl(235, 77%, 61%)
HSVhsv(235, 66%, 91%)
CMYKcmyk(65.5%, 60.3%, 0%, 9%)
CIE-LABlab(45.89, 38.83, -72.34)
CIE-LCHlch(45.89, 82.11, 298.22°)
OKLaboklab(54.9% 0.013 -0.2085)
OKLCHoklch(54.9% 0.209 273.6)
XYZxyz(21.6961, 15.1840, 78.1157)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CE8 #E8DC50
analogous
#50A8E8 #505CE8 #9050E8
triadic
#505CE8 #E8505C #5CE850
tetradic
#505CE8 #E850A8 #E8DC50 #50E890
square
#505CE8 #E850A8 #E8DC50 #50E890
split-complementary
#505CE8 #E89050 #A8E850
monochromatic
#1622A8 #1D2CDE #505CE8 #868EEF #BCC1F6

Accessibility & contrast

On white

5.20
#505CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#505CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CE8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CE8#FFFFFF#000000##FFFFFF
##505CE81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #505ce8;
/* rgb */ color: rgb(80, 92, 232);
/* oklch */ color: oklch(54.9% 0.209 273.6);
Tailwind
colors: {
  custom: {
    50: '#928af0',
    500: '#505ce8',
    950: '#000000',
  },
}
SCSS
$custom: #505ce8;
$custom-light: #928af0;
$custom-dark: #000000;
JSON
{
  "hex": "#505ce8",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 235.263,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54901,
    "c": 0.20891,
    "h": 273.6
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#505CE8
secondary
#E6E2AD
accent
#C90DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #505CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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