#506EF7#506EF7

#506EF7 is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 59.3% C 0.207 H 269.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#506EF7
RGBrgb(80, 110, 247)
HSLhsl(229, 91%, 64%)
HSVhsv(229, 68%, 97%)
CMYKcmyk(67.6%, 55.5%, 0%, 3.1%)
CIE-LABlab(51.35, 32.89, -71.86)
CIE-LCHlch(51.35, 79.03, 294.59°)
OKLaboklab(59.31% -0.0012 -0.2069)
OKLCHoklch(59.31% 0.207 269.7)
XYZxyz(25.6670, 19.5702, 90.4024)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506EF7 #F7D950
analogous
#50C1F7 #506EF7 #8650F7
triadic
#506EF7 #F7506E #6EF750
tetradic
#506EF7 #F750C1 #F7D950 #50F786
square
#506EF7 #F750C1 #F7D950 #50F786
split-complementary
#506EF7 #F78650 #C1F750
monochromatic
#092AC4 #153EF4 #506EF7 #8B9EFA #C5CFFC

Accessibility & contrast

On white

4.27
#506EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#506EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506EF7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506EF7#FFFFFF#000000##000000
##506EF71.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#008FA8
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #506ef7;
/* rgb */ color: rgb(80, 110, 247);
/* oklch */ color: oklch(59.3% 0.207 269.7);
Tailwind
colors: {
  custom: {
    50: '#9397fb',
    500: '#506ef7',
    950: '#000000',
  },
}
SCSS
$custom: #506ef7;
$custom-light: #9397fb;
$custom-dark: #000000;
JSON
{
  "hex": "#506ef7",
  "rgb": {
    "r": 80,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 229.222,
    "s": 91.257,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5931,
    "c": 0.20689,
    "h": 269.7
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#506EF7
secondary
#EFE4B4
accent
#BC00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #506EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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