#506CDA#506CDA

#506CDA is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.171 H 269.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#506CDA
RGBrgb(80, 108, 218)
HSLhsl(228, 65%, 58%)
HSVhsv(228, 63%, 85%)
CMYKcmyk(63.3%, 50.5%, 0%, 14.5%)
CIE-LABlab(48.87, 24.18, -59.58)
CIE-LCHlch(48.87, 64.30, 292.09°)
OKLaboklab(56.82% -0.0014 -0.1708)
OKLCHoklch(56.82% 0.171 269.5)
XYZxyz(21.3214, 17.4907, 68.5685)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CDA #DABE50
analogous
#50B1DA #506CDA #7950DA
triadic
#506CDA #DA506C #6CDA50
tetradic
#506CDA #DA50B1 #DABE50 #50DA79
square
#506CDA #DA50B1 #DABE50 #50DA79
split-complementary
#506CDA #DA7950 #B1DA50
monochromatic
#1F3691 #2949C3 #506CDA #8396E5 #B5C1EF

Accessibility & contrast

On white

4.67
#506CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#506CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506CDA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CDA#FFFFFF#000000##FFFFFF
##506CDA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #506cda;
/* rgb */ color: rgb(80, 108, 218);
/* oklch */ color: oklch(56.8% 0.171 269.5);
Tailwind
colors: {
  custom: {
    50: '#8e95e6',
    500: '#506cda',
    950: '#000000',
  },
}
SCSS
$custom: #506cda;
$custom-light: #8e95e6;
$custom-dark: #000000;
JSON
{
  "hex": "#506cda",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 227.826,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.1708,
    "h": 269.5
  },
  "luminance": 0.17493
}

Semantic roles & 50–950 ramp

primary
#506CDA
secondary
#DED3A8
accent
#C640E8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #506CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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