#506FD5#506FD5

#506FD5 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.1% C 0.160 H 268.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#506FD5
RGBrgb(80, 111, 213)
HSLhsl(226, 61%, 57%)
HSVhsv(226, 62%, 84%)
CMYKcmyk(62.4%, 47.9%, 0%, 16.5%)
CIE-LABlab(49.35, 20.60, -55.98)
CIE-LCHlch(49.35, 59.65, 290.20°)
OKLaboklab(57.08% -0.0048 -0.1602)
OKLCHoklch(57.08% 0.16 268.3)
XYZxyz(20.9989, 17.8766, 65.2818)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FD5 #D5B650
analogous
#50B1D5 #506FD5 #7450D5
triadic
#506FD5 #D5506F #6FD550
tetradic
#506FD5 #D550B1 #D5B650 #50D574
square
#506FD5 #D550B1 #D5B650 #50D574
split-complementary
#506FD5 #D57450 #B1D550
monochromatic
#21398A #2D4EBB #506FD5 #8198E1 #B3C0ED

Accessibility & contrast

On white

4.59
#506FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#506FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506FD5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FD5#FFFFFF#000000##FFFFFF
##506FD51.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CD9
Deuteranopia (green-blind)
#2070D3
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #506fd5;
/* rgb */ color: rgb(80, 111, 213);
/* oklch */ color: oklch(57.1% 0.160 268.3);
Tailwind
colors: {
  custom: {
    50: '#8d97e2',
    500: '#506fd5',
    950: '#000000',
  },
}
SCSS
$custom: #506fd5;
$custom-light: #8d97e2;
$custom-dark: #000000;
JSON
{
  "hex": "#506fd5",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 226.015,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.16023,
    "h": 268.3
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#506FD5
secondary
#DBCFA6
accent
#BF43E4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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