#506DE0#506DE0

#506DE0 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.4% C 0.178 H 269.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#506DE0
RGBrgb(80, 109, 224)
HSLhsl(228, 70%, 60%)
HSVhsv(228, 64%, 88%)
CMYKcmyk(64.3%, 51.3%, 0%, 12.2%)
CIE-LABlab(49.52, 25.62, -61.92)
CIE-LCHlch(49.52, 67.01, 292.47°)
OKLaboklab(57.44% -0.0017 -0.1777)
OKLCHoklch(57.44% 0.178 269.4)
XYZxyz(22.2269, 18.0226, 72.8139)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DE0 #E0C350
analogous
#50B5E0 #506DE0 #7B50E0
triadic
#506DE0 #E0506D #6DE050
tetradic
#506DE0 #E050B5 #E0C350 #50E07B
square
#506DE0 #E050B5 #E0C350 #50E07B
split-complementary
#506DE0 #E07B50 #B5E050
monochromatic
#1B359A #2547CE #506DE0 #8498E9 #B8C4F2

Accessibility & contrast

On white

4.56
#506DE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#506DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506DE0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506DE0#FFFFFF#000000##000000
##506DE01.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#277DE4
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#00889C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #506de0;
/* rgb */ color: rgb(80, 109, 224);
/* oklch */ color: oklch(57.4% 0.178 269.4);
Tailwind
colors: {
  custom: {
    50: '#8f96ea',
    500: '#506de0',
    950: '#000000',
  },
}
SCSS
$custom: #506de0;
$custom-light: #8f96ea;
$custom-dark: #000000;
JSON
{
  "hex": "#506de0",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 224
  },
  "hsl": {
    "h": 227.917,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57439,
    "c": 0.17769,
    "h": 269.4
  },
  "luminance": 0.18025
}

Semantic roles & 50–950 ramp

primary
#506DE0
secondary
#E2D7AA
accent
#C93BED
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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