#506FE8#506FE8

#506FE8 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.4% C 0.186 H 269.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#506FE8
RGBrgb(80, 111, 232)
HSLhsl(228, 77%, 61%)
HSVhsv(228, 66%, 91%)
CMYKcmyk(65.5%, 52.2%, 0%, 9%)
CIE-LABlab(50.57, 27.12, -64.74)
CIE-LCHlch(50.57, 70.19, 292.73°)
OKLaboklab(58.4% -0.0029 -0.1859)
OKLCHoklch(58.4% 0.186 269.1)
XYZxyz(23.5532, 18.8984, 78.7348)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FE8 #E8C950
analogous
#50BBE8 #506FE8 #7D50E8
triadic
#506FE8 #E8506F #6FE850
tetradic
#506FE8 #E850BB #E8C950 #50E87D
square
#506FE8 #E850BB #E8C950 #50E87D
split-complementary
#506FE8 #E87D50 #BBE850
monochromatic
#1634A8 #1D44DE #506FE8 #869CEF #BCC8F6

Accessibility & contrast

On white

4.39
#506FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#506FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506FE8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FE8#FFFFFF#000000##000000
##506FE81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2080EC
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #506fe8;
/* rgb */ color: rgb(80, 111, 232);
/* oklch */ color: oklch(58.4% 0.186 269.1);
Tailwind
colors: {
  custom: {
    50: '#9197f0',
    500: '#506fe8',
    950: '#000000',
  },
}
SCSS
$custom: #506fe8;
$custom-light: #9197f0;
$custom-dark: #000000;
JSON
{
  "hex": "#506fe8",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 227.763,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58397,
    "c": 0.18596,
    "h": 269.1
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

primary
#506FE8
secondary
#E6DBAD
accent
#AF0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #506FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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