#506FCF#506FCF

#506FCF is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.7% C 0.152 H 267.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#506FCF
RGBrgb(80, 111, 207)
HSLhsl(225, 57%, 56%)
HSVhsv(225, 61%, 81%)
CMYKcmyk(61.4%, 46.4%, 0%, 18.8%)
CIE-LABlab(48.98, 18.55, -53.15)
CIE-LCHlch(48.98, 56.30, 289.24°)
OKLaboklab(56.68% -0.0056 -0.1518)
OKLCHoklch(56.68% 0.152 267.9)
XYZxyz(20.2514, 17.5776, 61.3450)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FCF #CFB050
analogous
#50AFCF #506FCF #7150CF
triadic
#506FCF #CF506F #6FCF50
tetradic
#506FCF #CF50AF #CFB050 #50CF71
square
#506FCF #CF50AF #CFB050 #50CF71
split-complementary
#506FCF #CF7150 #AFCF50
monochromatic
#233A81 #3150B1 #506FCF #8097DC #B0BEE9

Accessibility & contrast

On white

4.65
#506FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#506FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506FCF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FCF#FFFFFF#000000##FFFFFF
##506FCF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407AD3
Deuteranopia (green-blind)
#2B6FCD
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506fcf;
/* rgb */ color: rgb(80, 111, 207);
/* oklch */ color: oklch(56.7% 0.152 267.9);
Tailwind
colors: {
  custom: {
    50: '#8c97de',
    500: '#506fcf',
    950: '#000000',
  },
}
SCSS
$custom: #506fcf;
$custom-light: #8c97de;
$custom-dark: #000000;
JSON
{
  "hex": "#506fcf",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 207
  },
  "hsl": {
    "h": 225.354,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.15194,
    "h": 267.9
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#506FCF
secondary
#D8CBA3
accent
#BB48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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