#506FEC#506FEC

#506FEC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.7% C 0.191 H 269.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#506FEC
RGBrgb(80, 111, 236)
HSLhsl(228, 80%, 62%)
HSVhsv(228, 66%, 93%)
CMYKcmyk(66.1%, 53%, 0%, 7.5%)
CIE-LABlab(50.84, 28.50, -66.55)
CIE-LCHlch(50.84, 72.40, 293.18°)
OKLaboklab(58.68% -0.0026 -0.1913)
OKLCHoklch(58.68% 0.191 269.2)
XYZxyz(24.1279, 19.1282, 81.7612)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FEC #ECCD50
analogous
#50BDEC #506FEC #7F50EC
triadic
#506FEC #EC506F #6FEC50
tetradic
#506FEC #EC50BD #ECCD50 #50EC7F
square
#506FEC #EC50BD #ECCD50 #50EC7F
split-complementary
#506FEC #EC7F50 #BDEC50
monochromatic
#1332AF #1942E6 #506FEC #879CF2 #BECAF8

Accessibility & contrast

On white

4.35
#506FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#506FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506FEC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FEC#FFFFFF#000000##000000
##506FEC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1580F0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #506fec;
/* rgb */ color: rgb(80, 111, 236);
/* oklch */ color: oklch(58.7% 0.191 269.2);
Tailwind
colors: {
  custom: {
    50: '#9197f3',
    500: '#506fec',
    950: '#000000',
  },
}
SCSS
$custom: #506fec;
$custom-light: #9197f3;
$custom-dark: #000000;
JSON
{
  "hex": "#506fec",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 228.077,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.19128,
    "h": 269.2
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#506FEC
secondary
#E9DDAF
accent
#B309DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #506FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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