#506BC3#506BC3

#506BC3 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.1% C 0.140 H 268.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#506BC3
RGBrgb(80, 107, 195)
HSLhsl(226, 49%, 54%)
HSVhsv(226, 59%, 76%)
CMYKcmyk(59%, 45.1%, 0%, 23.5%)
CIE-LABlab(47.18, 16.97, -49.15)
CIE-LCHlch(47.18, 51.99, 289.05°)
OKLaboklab(55.08% -0.0033 -0.1401)
OKLCHoklch(55.08% 0.14 268.7)
XYZxyz(18.4130, 16.1595, 53.7680)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BC3 #C3A850
analogous
#50A5C3 #506BC3 #6F50C3
triadic
#506BC3 #C3506B #6BC350
tetradic
#506BC3 #C350A5 #C3A850 #50C36F
square
#506BC3 #C350A5 #C3A850 #50C36F
split-complementary
#506BC3 #C36F50 #A5C350
monochromatic
#273872 #374F9F #506BC3 #7E92D3 #ABB8E2

Accessibility & contrast

On white

4.96
#506BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#506BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BC3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BC3#FFFFFF#000000##FFFFFF
##506BC31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #506bc3;
/* rgb */ color: rgb(80, 107, 195);
/* oklch */ color: oklch(55.1% 0.140 268.7);
Tailwind
colors: {
  custom: {
    50: '#8a95d6',
    500: '#506bc3',
    950: '#000000',
  },
}
SCSS
$custom: #506bc3;
$custom-light: #8a95d6;
$custom-dark: #000000;
JSON
{
  "hex": "#506bc3",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 225.913,
    "s": 48.936,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55078,
    "c": 0.14016,
    "h": 268.7
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#506BC3
secondary
#D0C49F
accent
#B84FD8
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #506BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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