#506BD4#506BD4

#506BD4 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.2% C 0.164 H 269.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#506BD4
RGBrgb(80, 107, 212)
HSLhsl(228, 61%, 57%)
HSVhsv(228, 62%, 83%)
CMYKcmyk(62.3%, 49.5%, 0%, 16.9%)
CIE-LABlab(48.23, 22.75, -57.21)
CIE-LCHlch(48.23, 61.57, 291.69°)
OKLaboklab(56.21% -0.001 -0.1638)
OKLCHoklch(56.21% 0.164 269.6)
XYZxyz(20.4456, 16.9726, 64.4732)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BD4 #D4B950
analogous
#50ADD4 #506BD4 #7750D4
triadic
#506BD4 #D4506B #6BD450
tetradic
#506BD4 #D450AD #D4B950 #50D477
square
#506BD4 #D450AD #D4B950 #50D477
split-complementary
#506BD4 #D47750 #ADD450
monochromatic
#213688 #2E4AB9 #506BD4 #8195E0 #B2BEEC

Accessibility & contrast

On white

4.78
#506BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#506BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BD4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BD4#FFFFFF#000000##FFFFFF
##506BD41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3279D8
Deuteranopia (green-blind)
#126DD2
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #506bd4;
/* rgb */ color: rgb(80, 107, 212);
/* oklch */ color: oklch(56.2% 0.164 269.6);
Tailwind
colors: {
  custom: {
    50: '#8d95e2',
    500: '#506bd4',
    950: '#000000',
  },
}
SCSS
$custom: #506bd4;
$custom-light: #8d95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#506bd4",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 227.727,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.16384,
    "h": 269.6
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#506BD4
secondary
#DBD0A5
accent
#C344E4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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