#506BC7#506BC7

#506BC7 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.3% C 0.146 H 269.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#506BC7
RGBrgb(80, 107, 199)
HSLhsl(226, 52%, 55%)
HSVhsv(226, 60%, 78%)
CMYKcmyk(59.8%, 46.2%, 0%, 22%)
CIE-LABlab(47.42, 18.33, -51.07)
CIE-LCHlch(47.42, 54.26, 289.74°)
OKLaboklab(55.34% -0.0027 -0.1458)
OKLCHoklch(55.34% 0.146 269)
XYZxyz(18.8713, 16.3428, 56.1818)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BC7 #C7AC50
analogous
#50A6C7 #506BC7 #7150C7
triadic
#506BC7 #C7506B #6BC750
tetradic
#506BC7 #C750A6 #C7AC50 #50C771
square
#506BC7 #C750A6 #C7AC50 #50C771
split-complementary
#506BC7 #C77150 #A6C750
monochromatic
#263877 #354EA5 #506BC7 #7E92D6 #ADB9E5

Accessibility & contrast

On white

4.92
#506BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#506BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BC7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BC7#FFFFFF#000000##FFFFFF
##506BC71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CA
Deuteranopia (green-blind)
#2D6BC5
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #506bc7;
/* rgb */ color: rgb(80, 107, 199);
/* oklch */ color: oklch(55.3% 0.146 269.0);
Tailwind
colors: {
  custom: {
    50: '#8b95d8',
    500: '#506bc7',
    950: '#000000',
  },
}
SCSS
$custom: #506bc7;
$custom-light: #8b95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#506bc7",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 226.387,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.14579,
    "h": 269
  },
  "luminance": 0.16344
}

Semantic roles & 50–950 ramp

primary
#506BC7
secondary
#D2C7A0
accent
#BB4DDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #506BC7

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

Preview Lab → · Contrast checker → · Palette generator →

#506BC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva