#506FE4#506FE4

#506FE4 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.181 H 269.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#506FE4
RGBrgb(80, 111, 228)
HSLhsl(227, 73%, 60%)
HSVhsv(227, 65%, 89%)
CMYKcmyk(64.9%, 51.3%, 0%, 10.6%)
CIE-LABlab(50.30, 25.75, -62.92)
CIE-LCHlch(50.30, 67.99, 292.26°)
OKLaboklab(58.11% -0.0032 -0.1806)
OKLCHoklch(58.11% 0.181 269)
XYZxyz(22.9915, 18.6737, 75.7765)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FE4 #E4C550
analogous
#50B9E4 #506FE4 #7B50E4
triadic
#506FE4 #E4506F #6FE450
tetradic
#506FE4 #E450B9 #E4C550 #50E47B
square
#506FE4 #E450B9 #E4C550 #50E47B
split-complementary
#506FE4 #E47B50 #B9E450
monochromatic
#1935A1 #2147D6 #506FE4 #859BEC #BAC6F4

Accessibility & contrast

On white

4.43
#506FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#506FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506FE4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FE4#FFFFFF#000000##000000
##506FE41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE8
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #506fe4;
/* rgb */ color: rgb(80, 111, 228);
/* oklch */ color: oklch(58.1% 0.181 269.0);
Tailwind
colors: {
  custom: {
    50: '#9097ed',
    500: '#506fe4',
    950: '#000000',
  },
}
SCSS
$custom: #506fe4;
$custom-light: #9097ed;
$custom-dark: #000000;
JSON
{
  "hex": "#506fe4",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 227.432,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58113,
    "c": 0.18061,
    "h": 269
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#506FE4
secondary
#E4D8AC
accent
#AC10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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