#506CD2#506CD2

#506CD2 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.160 H 269.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#506CD2
RGBrgb(80, 108, 210)
HSLhsl(227, 59%, 57%)
HSVhsv(227, 62%, 82%)
CMYKcmyk(61.9%, 48.6%, 0%, 17.6%)
CIE-LABlab(48.36, 21.45, -55.85)
CIE-LCHlch(48.36, 59.83, 291.01°)
OKLaboklab(56.27% -0.0022 -0.1598)
OKLCHoklch(56.27% 0.16 269.2)
XYZxyz(20.2998, 17.0820, 63.1877)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CD2 #D2B650
analogous
#50ADD2 #506CD2 #7550D2
triadic
#506CD2 #D2506C #6CD250
tetradic
#506CD2 #D250AD #D2B650 #50D275
square
#506CD2 #D250AD #D2B650 #50D275
split-complementary
#506CD2 #D27550 #ADD250
monochromatic
#223885 #2F4CB6 #506CD2 #8195DF #B1BEEB

Accessibility & contrast

On white

4.75
#506CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#506CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506CD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CD2#FFFFFF#000000##FFFFFF
##506CD21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3779D6
Deuteranopia (green-blind)
#1C6DD0
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506cd2;
/* rgb */ color: rgb(80, 108, 210);
/* oklch */ color: oklch(56.3% 0.160 269.2);
Tailwind
colors: {
  custom: {
    50: '#8d95e0',
    500: '#506cd2',
    950: '#000000',
  },
}
SCSS
$custom: #506cd2;
$custom-light: #8d95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#506cd2",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 227.077,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56272,
    "c": 0.15984,
    "h": 269.2
  },
  "luminance": 0.17084
}

Semantic roles & 50–950 ramp

primary
#506CD2
secondary
#D9CEA4
accent
#C146E2
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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