#506DDE#506DDE

#506DDE is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.3% C 0.175 H 269.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#506DDE
RGBrgb(80, 109, 222)
HSLhsl(228, 68%, 59%)
HSVhsv(228, 64%, 87%)
CMYKcmyk(64%, 50.9%, 0%, 12.9%)
CIE-LABlab(49.39, 24.93, -61.01)
CIE-LCHlch(49.39, 65.90, 292.23°)
OKLaboklab(57.3% -0.0019 -0.175)
OKLCHoklch(57.3% 0.175 269.4)
XYZxyz(21.9572, 17.9147, 71.3938)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DDE #DEC150
analogous
#50B4DE #506DDE #7A50DE
triadic
#506DDE #DE506D #6DDE50
tetradic
#506DDE #DE50B4 #DEC150 #50DE7A
square
#506DDE #DE50B4 #DEC150 #50DE7A
split-complementary
#506DDE #DE7A50 #B4DE50
monochromatic
#1C3697 #2648CB #506DDE #8398E8 #B7C3F1

Accessibility & contrast

On white

4.58
#506DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #506DDE
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506DDE#FFFFFF#000000##000000
##506DDE1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #506dde;
/* rgb */ color: rgb(80, 109, 222);
/* oklch */ color: oklch(57.3% 0.175 269.4);
Tailwind
colors: {
  custom: {
    50: '#8f96e9',
    500: '#506dde',
    950: '#000000',
  },
}
SCSS
$custom: #506dde;
$custom-light: #8f96e9;
$custom-dark: #000000;
JSON
{
  "hex": "#506dde",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 222
  },
  "hsl": {
    "h": 227.746,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57298,
    "c": 0.17499,
    "h": 269.4
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#506DDE
secondary
#E1D5A9
accent
#C73DEB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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