#506FED#506FED

#506FED is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.8% C 0.193 H 269.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#506FED
RGBrgb(80, 111, 237)
HSLhsl(228, 81%, 62%)
HSVhsv(228, 66%, 93%)
CMYKcmyk(66.2%, 53.2%, 0%, 7.1%)
CIE-LABlab(50.90, 28.84, -67.00)
CIE-LCHlch(50.90, 72.94, 293.29°)
OKLaboklab(58.76% -0.0025 -0.1926)
OKLCHoklch(58.76% 0.193 269.2)
XYZxyz(24.2735, 19.1865, 82.5285)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FED #EDCE50
analogous
#50BDED #506FED #8050ED
triadic
#506FED #ED506F #6FED50
tetradic
#506FED #ED50BD #EDCE50 #50ED80
square
#506FED #ED50BD #EDCE50 #50ED80
split-complementary
#506FED #ED8050 #BDED50
monochromatic
#1231B0 #1941E7 #506FED #879DF3 #BFCAF8

Accessibility & contrast

On white

4.34
#506FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#506FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506FED
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FED#FFFFFF#000000##000000
##506FED1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1281F1
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #506fed;
/* rgb */ color: rgb(80, 111, 237);
/* oklch */ color: oklch(58.8% 0.193 269.2);
Tailwind
colors: {
  custom: {
    50: '#9197f4',
    500: '#506fed',
    950: '#000000',
  },
}
SCSS
$custom: #506fed;
$custom-light: #9197f4;
$custom-dark: #000000;
JSON
{
  "hex": "#506fed",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 228.153,
    "s": 81.347,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58758,
    "c": 0.1926,
    "h": 269.2
  },
  "luminance": 0.19189
}

Semantic roles & 50–950 ramp

primary
#506FED
secondary
#E9DEB0
accent
#B308DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #506FED

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

Preview Lab → · Contrast checker → · Palette generator →

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