#505BE2#505BE2

#505BE2 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.2% C 0.202 H 273.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#505BE2
RGBrgb(80, 91, 226)
HSLhsl(235, 72%, 60%)
HSVhsv(235, 65%, 89%)
CMYKcmyk(64.6%, 59.7%, 0%, 11.4%)
CIE-LABlab(45.19, 37.43, -70.09)
CIE-LCHlch(45.19, 79.46, 298.11°)
OKLaboklab(54.24% 0.0139 -0.2019)
OKLCHoklch(54.24% 0.202 273.9)
XYZxyz(20.7723, 14.6768, 73.6750)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BE2 #E2D750
analogous
#50A4E2 #505BE2 #8E50E2
triadic
#505BE2 #E2505B #5BE250
tetradic
#505BE2 #E250A4 #E2D750 #50E28E
square
#505BE2 #E250A4 #E2D750 #50E28E
split-complementary
#505BE2 #E28E50 #A4E250
monochromatic
#1A249E #2330D2 #505BE2 #848CEB #B9BDF3

Accessibility & contrast

On white

5.34
#505BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#505BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BE2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BE2#FFFFFF#000000##FFFFFF
##505BE21.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505be2;
/* rgb */ color: rgb(80, 91, 226);
/* oklch */ color: oklch(54.2% 0.202 273.9);
Tailwind
colors: {
  custom: {
    50: '#9189ec',
    500: '#505be2',
    950: '#000000',
  },
}
SCSS
$custom: #505be2;
$custom-light: #9189ec;
$custom-dark: #000000;
JSON
{
  "hex": "#505be2",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 235.479,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.54242,
    "c": 0.20236,
    "h": 273.9
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#505BE2
secondary
#E3DFAB
accent
#E139EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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