#506CD0#506CD0

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

Color values

HEX#506CD0
RGBrgb(80, 108, 208)
HSLhsl(227, 58%, 56%)
HSVhsv(227, 62%, 82%)
CMYKcmyk(61.5%, 48.1%, 0%, 18.4%)
CIE-LABlab(48.24, 20.76, -54.91)
CIE-LCHlch(48.24, 58.70, 290.71°)
OKLaboklab(56.14% -0.0025 -0.157)
OKLCHoklch(56.14% 0.157 269.1)
XYZxyz(20.0521, 16.9830, 61.8836)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CD0 #D0B450
analogous
#50ACD0 #506CD0 #7450D0
triadic
#506CD0 #D0506C #6CD050
tetradic
#506CD0 #D050AC #D0B450 #50D074
square
#506CD0 #D050AC #D0B450 #50D074
split-complementary
#506CD0 #D07450 #ACD050
monochromatic
#233883 #304DB3 #506CD0 #8095DD #B0BDEA

Accessibility & contrast

On white

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

On black

4.40
#506CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##506CD0#FFFFFF#000000##FFFFFF
##506CD01.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3979D4
Deuteranopia (green-blind)
#206DCE
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #506cd0;
/* rgb */ color: rgb(80, 108, 208);
/* oklch */ color: oklch(56.1% 0.157 269.1);
Tailwind
colors: {
  custom: {
    50: '#8d95df',
    500: '#506cd0',
    950: '#000000',
  },
}
SCSS
$custom: #506cd0;
$custom-light: #8d95df;
$custom-dark: #000000;
JSON
{
  "hex": "#506cd0",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 208
  },
  "hsl": {
    "h": 226.875,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.15707,
    "h": 269.1
  },
  "luminance": 0.16985
}

Semantic roles & 50–950 ramp

primary
#506CD0
secondary
#D8CDA4
accent
#BF47E1
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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