#505CE3#505CE3

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

Color values

HEX#505CE3
RGBrgb(80, 92, 227)
HSLhsl(235, 72%, 60%)
HSVhsv(235, 65%, 89%)
CMYKcmyk(64.8%, 59.5%, 0%, 11%)
CIE-LABlab(45.50, 37.16, -70.14)
CIE-LCHlch(45.50, 79.37, 297.91°)
OKLaboklab(54.5% 0.0131 -0.202)
OKLCHoklch(54.5% 0.202 273.7)
XYZxyz(20.9959, 14.9040, 74.4284)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CE3 #E3D750
analogous
#50A5E3 #505CE3 #8D50E3
triadic
#505CE3 #E3505C #5CE350
tetradic
#505CE3 #E350A5 #E3D750 #50E38D
square
#505CE3 #E350A5 #E3D750 #50E38D
split-complementary
#505CE3 #E38D50 #A5E350
monochromatic
#19249F #2230D4 #505CE3 #858DEB #BABEF4

Accessibility & contrast

On white

5.27
#505CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#505CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CE3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CE3#FFFFFF#000000##FFFFFF
##505CE31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505ce3;
/* rgb */ color: rgb(80, 92, 227);
/* oklch */ color: oklch(54.5% 0.202 273.7);
Tailwind
colors: {
  custom: {
    50: '#918aed',
    500: '#505ce3',
    950: '#000000',
  },
}
SCSS
$custom: #505ce3;
$custom-light: #918aed;
$custom-dark: #000000;
JSON
{
  "hex": "#505ce3",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 235.102,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.20246,
    "h": 273.7
  },
  "luminance": 0.14906
}

Semantic roles & 50–950 ramp

primary
#505CE3
secondary
#E4DFAB
accent
#C511D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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