#505BE6#505BE6

#505BE6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.6% C 0.208 H 273.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#505BE6
RGBrgb(80, 91, 230)
HSLhsl(236, 75%, 61%)
HSVhsv(236, 65%, 90%)
CMYKcmyk(65.2%, 60.4%, 0%, 9.8%)
CIE-LABlab(45.50, 38.77, -71.85)
CIE-LCHlch(45.50, 81.64, 298.35°)
OKLaboklab(54.57% 0.0138 -0.2071)
OKLCHoklch(54.57% 0.208 273.8)
XYZxyz(21.3275, 14.8989, 76.5994)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BE6 #E6DB50
analogous
#50A6E6 #505BE6 #9050E6
triadic
#505BE6 #E6505B #5BE650
tetradic
#505BE6 #E650A6 #E6DB50 #50E690
square
#505BE6 #E650A6 #E6DB50 #50E690
split-complementary
#505BE6 #E69050 #A6E650
monochromatic
#1722A4 #1F2DDA #505BE6 #868DEE #BBBFF5

Accessibility & contrast

On white

5.28
#505BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #505BE6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BE6#FFFFFF#000000##FFFFFF
##505BE61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505be6;
/* rgb */ color: rgb(80, 91, 230);
/* oklch */ color: oklch(54.6% 0.208 273.8);
Tailwind
colors: {
  custom: {
    50: '#9189ef',
    500: '#505be6',
    950: '#000000',
  },
}
SCSS
$custom: #505be6;
$custom-light: #9189ef;
$custom-dark: #000000;
JSON
{
  "hex": "#505be6",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 235.6,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.20752,
    "h": 273.8
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#505BE6
secondary
#E5E1AC
accent
#C80ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #505BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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