#506AE1#506AE1

#506AE1 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.9% C 0.183 H 270.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#506AE1
RGBrgb(80, 106, 225)
HSLhsl(229, 71%, 60%)
HSVhsv(229, 64%, 88%)
CMYKcmyk(64.4%, 52.9%, 0%, 11.8%)
CIE-LABlab(48.82, 27.83, -63.63)
CIE-LCHlch(48.82, 69.45, 293.62°)
OKLaboklab(56.93% 0.001 -0.1827)
OKLCHoklch(56.93% 0.183 270.3)
XYZxyz(22.0483, 17.4478, 73.4254)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506AE1 #E1C750
analogous
#50B3E1 #506AE1 #7E50E1
triadic
#506AE1 #E1506A #6AE150
tetradic
#506AE1 #E150B3 #E1C750 #50E17E
square
#506AE1 #E150B3 #E1C750 #50E17E
split-complementary
#506AE1 #E17E50 #B3E150
monochromatic
#1B329C #2443D0 #506AE1 #8496EA #B8C3F3

Accessibility & contrast

On white

4.68
#506AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#506AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506AE1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506AE1#FFFFFF#000000##FFFFFF
##506AE11.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#197BE5
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506ae1;
/* rgb */ color: rgb(80, 106, 225);
/* oklch */ color: oklch(56.9% 0.183 270.3);
Tailwind
colors: {
  custom: {
    50: '#9094eb',
    500: '#506ae1',
    950: '#000000',
  },
}
SCSS
$custom: #506ae1;
$custom-light: #9094eb;
$custom-dark: #000000;
JSON
{
  "hex": "#506ae1",
  "rgb": {
    "r": 80,
    "g": 106,
    "b": 225
  },
  "hsl": {
    "h": 229.241,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.18273,
    "h": 270.3
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#506AE1
secondary
#E2D8AA
accent
#CD3AED
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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