#506DE8#506DE8

#506DE8 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.0% C 0.188 H 269.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#506DE8
RGBrgb(80, 109, 232)
HSLhsl(229, 77%, 61%)
HSVhsv(229, 66%, 91%)
CMYKcmyk(65.5%, 53%, 0%, 9%)
CIE-LABlab(50.06, 28.36, -65.57)
CIE-LCHlch(50.06, 71.44, 293.39°)
OKLaboklab(58.01% -0.0011 -0.1884)
OKLCHoklch(58.01% 0.188 269.7)
XYZxyz(23.3374, 18.4668, 78.6629)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DE8 #E8CB50
analogous
#50B9E8 #506DE8 #7F50E8
triadic
#506DE8 #E8506D #6DE850
tetradic
#506DE8 #E850B9 #E8CB50 #50E87F
square
#506DE8 #E850B9 #E8CB50 #50E87F
split-complementary
#506DE8 #E87F50 #B9E850
monochromatic
#1632A8 #1D42DE #506DE8 #869AEF #BCC7F6

Accessibility & contrast

On white

4.47
#506DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#506DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506DE8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506DE8#FFFFFF#000000##000000
##506DE81.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#167EEC
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#008AA0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #506de8;
/* rgb */ color: rgb(80, 109, 232);
/* oklch */ color: oklch(58.0% 0.188 269.7);
Tailwind
colors: {
  custom: {
    50: '#9196f0',
    500: '#506de8',
    950: '#000000',
  },
}
SCSS
$custom: #506de8;
$custom-light: #9196f0;
$custom-dark: #000000;
JSON
{
  "hex": "#506de8",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 232
  },
  "hsl": {
    "h": 228.553,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58012,
    "c": 0.1884,
    "h": 269.7
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

primary
#506DE8
secondary
#E6DCAD
accent
#B20DD9
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #506DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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