#506FCC#506FCC

#506FCC is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.5% C 0.148 H 267.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#506FCC
RGBrgb(80, 111, 204)
HSLhsl(225, 55%, 56%)
HSVhsv(225, 61%, 80%)
CMYKcmyk(60.8%, 45.6%, 0%, 20%)
CIE-LABlab(48.80, 17.53, -51.72)
CIE-LCHlch(48.80, 54.61, 288.72°)
OKLaboklab(56.49% -0.0061 -0.1476)
OKLCHoklch(56.49% 0.148 267.6)
XYZxyz(19.8881, 17.4323, 59.4317)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FCC #CCAD50
analogous
#50ADCC #506FCC #6F50CC
triadic
#506FCC #CC506F #6FCC50
tetradic
#506FCC #CC50AD #CCAD50 #50CC6F
square
#506FCC #CC50AD #CCAD50 #50CC6F
split-complementary
#506FCC #CC6F50 #ADCC50
monochromatic
#243B7D #3251AD #506FCC #7F96DA #AFBDE8

Accessibility & contrast

On white

4.68
#506FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#506FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506FCC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FCC#FFFFFF#000000##FFFFFF
##506FCC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437ACF
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506fcc;
/* rgb */ color: rgb(80, 111, 204);
/* oklch */ color: oklch(56.5% 0.148 267.6);
Tailwind
colors: {
  custom: {
    50: '#8c97dc',
    500: '#506fcc',
    950: '#000000',
  },
}
SCSS
$custom: #506fcc;
$custom-light: #8c97dc;
$custom-dark: #000000;
JSON
{
  "hex": "#506fcc",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 204
  },
  "hsl": {
    "h": 225,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.14777,
    "h": 267.6
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#506FCC
secondary
#D6C9A2
accent
#B94ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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