#505CE2#505CE2

#505CE2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.4% C 0.201 H 273.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#505CE2
RGBrgb(80, 92, 226)
HSLhsl(235, 72%, 60%)
HSVhsv(235, 65%, 89%)
CMYKcmyk(64.6%, 59.3%, 0%, 11.4%)
CIE-LABlab(45.43, 36.82, -69.70)
CIE-LCHlch(45.43, 78.83, 297.85°)
OKLaboklab(54.42% 0.0131 -0.2007)
OKLCHoklch(54.42% 0.201 273.7)
XYZxyz(20.8583, 14.8489, 73.7037)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CE2 #E2D650
analogous
#50A5E2 #505CE2 #8D50E2
triadic
#505CE2 #E2505C #5CE250
tetradic
#505CE2 #E250A5 #E2D650 #50E28D
square
#505CE2 #E250A5 #E2D650 #50E28D
split-complementary
#505CE2 #E28D50 #A5E250
monochromatic
#1A259E #2331D2 #505CE2 #848DEB #B9BEF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505CE2#FFFFFF#000000##FFFFFF
##505CE21.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)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505ce2;
/* rgb */ color: rgb(80, 92, 226);
/* oklch */ color: oklch(54.4% 0.201 273.7);
Tailwind
colors: {
  custom: {
    50: '#918aec',
    500: '#505ce2',
    950: '#000000',
  },
}
SCSS
$custom: #505ce2;
$custom-light: #918aec;
$custom-dark: #000000;
JSON
{
  "hex": "#505ce2",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 235.068,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.20116,
    "h": 273.7
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#505CE2
secondary
#E3DEAB
accent
#DF39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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