#506CD9#506CD9

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

Color values

HEX#506CD9
RGBrgb(80, 108, 217)
HSLhsl(228, 64%, 58%)
HSVhsv(228, 63%, 85%)
CMYKcmyk(63.1%, 50.2%, 0%, 14.9%)
CIE-LABlab(48.81, 23.84, -59.12)
CIE-LCHlch(48.81, 63.74, 291.96°)
OKLaboklab(56.75% -0.0015 -0.1694)
OKLCHoklch(56.75% 0.169 269.5)
XYZxyz(21.1910, 17.4385, 67.8814)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CD9 #D9BD50
analogous
#50B0D9 #506CD9 #7850D9
triadic
#506CD9 #D9506C #6CD950
tetradic
#506CD9 #D950B0 #D9BD50 #50D978
square
#506CD9 #D950B0 #D9BD50 #50D978
split-complementary
#506CD9 #D97850 #B0D950
monochromatic
#1F368F #2A49C2 #506CD9 #8296E4 #B5C0EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##506CD9#FFFFFF#000000##FFFFFF
##506CD91.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)
#2F7ADD
Deuteranopia (green-blind)
#016ED7
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506cd9;
/* rgb */ color: rgb(80, 108, 217);
/* oklch */ color: oklch(56.8% 0.169 269.5);
Tailwind
colors: {
  custom: {
    50: '#8e95e5',
    500: '#506cd9',
    950: '#000000',
  },
}
SCSS
$custom: #506cd9;
$custom-light: #8e95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#506cd9",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 227.737,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.16944,
    "h": 269.5
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#506CD9
secondary
#DED3A7
accent
#C540E7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #506CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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