#506BE4#506BE4

#506BE4 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.3% C 0.186 H 270.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#506BE4
RGBrgb(80, 107, 228)
HSLhsl(229, 73%, 60%)
HSVhsv(229, 65%, 89%)
CMYKcmyk(64.9%, 53.1%, 0%, 10.6%)
CIE-LABlab(49.28, 28.23, -64.58)
CIE-LCHlch(49.28, 70.48, 293.61°)
OKLaboklab(57.34% 0.0004 -0.1855)
OKLCHoklch(57.34% 0.186 270.1)
XYZxyz(22.5648, 17.8202, 75.6342)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BE4 #E4C950
analogous
#50B5E4 #506BE4 #7F50E4
triadic
#506BE4 #E4506B #6BE450
tetradic
#506BE4 #E450B5 #E4C950 #50E47F
square
#506BE4 #E450B5 #E4C950 #50E47F
split-complementary
#506BE4 #E47F50 #B5E450
monochromatic
#1932A1 #2142D6 #506BE4 #8598EC #BAC5F4

Accessibility & contrast

On white

4.60
#506BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#506BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506BE4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BE4#FFFFFF#000000##FFFFFF
##506BE41.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#167CE8
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#00889D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #506be4;
/* rgb */ color: rgb(80, 107, 228);
/* oklch */ color: oklch(57.3% 0.186 270.1);
Tailwind
colors: {
  custom: {
    50: '#9095ed',
    500: '#506be4',
    950: '#000000',
  },
}
SCSS
$custom: #506be4;
$custom-light: #9095ed;
$custom-dark: #000000;
JSON
{
  "hex": "#506be4",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 228
  },
  "hsl": {
    "h": 229.054,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.18551,
    "h": 270.1
  },
  "luminance": 0.17822
}

Semantic roles & 50–950 ramp

primary
#506BE4
secondary
#E4DAAC
accent
#B110D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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