#506CDB#506CDB

#506CDB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.9% C 0.172 H 269.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#506CDB
RGBrgb(80, 108, 219)
HSLhsl(228, 66%, 59%)
HSVhsv(228, 63%, 86%)
CMYKcmyk(63.5%, 50.7%, 0%, 14.1%)
CIE-LABlab(48.94, 24.53, -60.04)
CIE-LCHlch(48.94, 64.86, 292.22°)
OKLaboklab(56.89% -0.0013 -0.1721)
OKLCHoklch(56.89% 0.172 269.6)
XYZxyz(21.4527, 17.5432, 69.2597)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CDB #DBBF50
analogous
#50B1DB #506CDB #7950DB
triadic
#506CDB #DB506C #6CDB50
tetradic
#506CDB #DB50B1 #DBBF50 #50DB79
square
#506CDB #DB50B1 #DBBF50 #50DB79
split-complementary
#506CDB #DB7950 #B1DB50
monochromatic
#1E3692 #2948C5 #506CDB #8397E5 #B6C1F0

Accessibility & contrast

On white

4.66
#506CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#506CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506CDB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CDB#FFFFFF#000000##FFFFFF
##506CDB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506cdb;
/* rgb */ color: rgb(80, 108, 219);
/* oklch */ color: oklch(56.9% 0.172 269.6);
Tailwind
colors: {
  custom: {
    50: '#8e95e7',
    500: '#506cdb',
    950: '#000000',
  },
}
SCSS
$custom: #506cdb;
$custom-light: #8e95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#506cdb",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 227.914,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.17215,
    "h": 269.6
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

primary
#506CDB
secondary
#DFD4A8
accent
#C73FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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