#506DD5#506DD5

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

Color values

HEX#506DD5
RGBrgb(80, 109, 213)
HSLhsl(227, 61%, 57%)
HSVhsv(227, 62%, 84%)
CMYKcmyk(62.4%, 48.8%, 0%, 16.5%)
CIE-LABlab(48.82, 21.85, -56.83)
CIE-LCHlch(48.82, 60.89, 291.03°)
OKLaboklab(56.68% -0.0029 -0.1627)
OKLCHoklch(56.68% 0.163 269)
XYZxyz(20.7831, 17.4450, 65.2099)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DD5 #D5B850
analogous
#50B0D5 #506DD5 #7550D5
triadic
#506DD5 #D5506D #6DD550
tetradic
#506DD5 #D550B0 #D5B850 #50D575
square
#506DD5 #D550B0 #D5B850 #50D575
split-complementary
#506DD5 #D57550 #B0D550
monochromatic
#21388A #2D4CBB #506DD5 #8196E1 #B3BFED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##506DD5#FFFFFF#000000##FFFFFF
##506DD51.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)
#367AD9
Deuteranopia (green-blind)
#186ED3
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506dd5;
/* rgb */ color: rgb(80, 109, 213);
/* oklch */ color: oklch(56.7% 0.163 269.0);
Tailwind
colors: {
  custom: {
    50: '#8d96e2',
    500: '#506dd5',
    950: '#000000',
  },
}
SCSS
$custom: #506dd5;
$custom-light: #8d96e2;
$custom-dark: #000000;
JSON
{
  "hex": "#506dd5",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 213
  },
  "hsl": {
    "h": 226.917,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.16272,
    "h": 269
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#506DD5
secondary
#DBD0A6
accent
#C143E4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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