#506CDE#506CDE

#506CDE is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.1% C 0.176 H 269.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#506CDE
RGBrgb(80, 108, 222)
HSLhsl(228, 68%, 59%)
HSVhsv(228, 64%, 87%)
CMYKcmyk(64%, 51.4%, 0%, 12.9%)
CIE-LABlab(49.13, 25.55, -61.42)
CIE-LCHlch(49.13, 66.53, 292.59°)
OKLaboklab(57.1% -0.001 -0.1762)
OKLCHoklch(57.1% 0.176 269.7)
XYZxyz(21.8512, 17.7026, 71.3585)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CDE #DEC250
analogous
#50B3DE #506CDE #7B50DE
triadic
#506CDE #DE506C #6CDE50
tetradic
#506CDE #DE50B3 #DEC250 #50DE7B
square
#506CDE #DE50B3 #DEC250 #50DE7B
split-complementary
#506CDE #DE7B50 #B3DE50
monochromatic
#1C3597 #2647CB #506CDE #8397E8 #B7C3F1

Accessibility & contrast

On white

4.62
#506CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#506CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506CDE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CDE#FFFFFF#000000##FFFFFF
##506CDE1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#277BE2
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #506cde;
/* rgb */ color: rgb(80, 108, 222);
/* oklch */ color: oklch(57.1% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#8f95e9',
    500: '#506cde',
    950: '#000000',
  },
}
SCSS
$custom: #506cde;
$custom-light: #8f95e9;
$custom-dark: #000000;
JSON
{
  "hex": "#506cde",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 228.169,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57102,
    "c": 0.17622,
    "h": 269.7
  },
  "luminance": 0.17705
}

Semantic roles & 50–950 ramp

primary
#506CDE
secondary
#E1D6A9
accent
#C93DEB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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