#506AE3#506AE3

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

Color values

HEX#506AE3
RGBrgb(80, 106, 227)
HSLhsl(229, 72%, 60%)
HSVhsv(229, 65%, 89%)
CMYKcmyk(64.8%, 53.3%, 0%, 11%)
CIE-LABlab(48.96, 28.51, -64.54)
CIE-LCHlch(48.96, 70.55, 293.83°)
OKLaboklab(57.07% 0.0012 -0.1854)
OKLCHoklch(57.07% 0.185 270.4)
XYZxyz(22.3227, 17.5576, 74.8707)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506AE3 #E3C950
analogous
#50B3E3 #506AE3 #8050E3
triadic
#506AE3 #E3506A #6AE350
tetradic
#506AE3 #E350B3 #E3C950 #50E380
square
#506AE3 #E350B3 #E3C950 #50E380
split-complementary
#506AE3 #E38050 #B3E350
monochromatic
#19319F #2241D4 #506AE3 #8597EB #BAC4F4

Accessibility & contrast

On white

4.65
#506AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#506AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506AE3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506AE3#FFFFFF#000000##FFFFFF
##506AE31.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#137BE7
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506ae3;
/* rgb */ color: rgb(80, 106, 227);
/* oklch */ color: oklch(57.1% 0.185 270.4);
Tailwind
colors: {
  custom: {
    50: '#9094ed',
    500: '#506ae3',
    950: '#000000',
  },
}
SCSS
$custom: #506ae3;
$custom-light: #9094ed;
$custom-dark: #000000;
JSON
{
  "hex": "#506ae3",
  "rgb": {
    "r": 80,
    "g": 106,
    "b": 227
  },
  "hsl": {
    "h": 229.388,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57074,
    "c": 0.1854,
    "h": 270.4
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#506AE3
secondary
#E4DAAB
accent
#B211D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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