#506DF7#506DF7

#506DF7 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.1% C 0.208 H 269.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#506DF7
RGBrgb(80, 109, 247)
HSLhsl(230, 91%, 64%)
HSVhsv(230, 68%, 97%)
CMYKcmyk(67.6%, 55.9%, 0%, 3.1%)
CIE-LABlab(51.10, 33.50, -72.26)
CIE-LCHlch(51.10, 79.65, 294.88°)
OKLaboklab(59.13% -0.0004 -0.2081)
OKLCHoklch(59.13% 0.208 269.9)
XYZxyz(25.5597, 19.3557, 90.3667)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DF7 #F7DA50
analogous
#50C1F7 #506DF7 #8750F7
triadic
#506DF7 #F7506D #6DF750
tetradic
#506DF7 #F750C1 #F7DA50 #50F787
square
#506DF7 #F750C1 #F7DA50 #50F787
split-complementary
#506DF7 #F78750 #C1F750
monochromatic
#0929C4 #153CF4 #506DF7 #8B9EFA #C5CFFC

Accessibility & contrast

On white

4.31
#506DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#506DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506DF7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506DF7#FFFFFF#000000##000000
##506DF71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #506df7;
/* rgb */ color: rgb(80, 109, 247);
/* oklch */ color: oklch(59.1% 0.208 269.9);
Tailwind
colors: {
  custom: {
    50: '#9396fb',
    500: '#506df7',
    950: '#000000',
  },
}
SCSS
$custom: #506df7;
$custom-light: #9396fb;
$custom-dark: #000000;
JSON
{
  "hex": "#506df7",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 229.581,
    "s": 91.257,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.20808,
    "h": 269.9
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #506DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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