#506CE0#506CE0

#506CE0 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.2% C 0.179 H 269.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#506CE0
RGBrgb(80, 108, 224)
HSLhsl(228, 70%, 60%)
HSVhsv(228, 64%, 88%)
CMYKcmyk(64.3%, 51.8%, 0%, 12.2%)
CIE-LABlab(49.27, 26.24, -62.34)
CIE-LCHlch(49.27, 67.64, 292.83°)
OKLaboklab(57.24% -0.0008 -0.1789)
OKLCHoklch(57.24% 0.179 269.7)
XYZxyz(22.1208, 17.8104, 72.7786)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CE0 #E0C450
analogous
#50B4E0 #506CE0 #7C50E0
triadic
#506CE0 #E0506C #6CE050
tetradic
#506CE0 #E050B4 #E0C450 #50E07C
square
#506CE0 #E050B4 #E0C450 #50E07C
split-complementary
#506CE0 #E07C50 #B4E050
monochromatic
#1B349A #2546CE #506CE0 #8498E9 #B8C3F2

Accessibility & contrast

On white

4.60
#506CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#506CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506CE0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CE0#FFFFFF#000000##FFFFFF
##506CE01.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#247CE4
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #506ce0;
/* rgb */ color: rgb(80, 108, 224);
/* oklch */ color: oklch(57.2% 0.179 269.7);
Tailwind
colors: {
  custom: {
    50: '#8f95ea',
    500: '#506ce0',
    950: '#000000',
  },
}
SCSS
$custom: #506ce0;
$custom-light: #8f95ea;
$custom-dark: #000000;
JSON
{
  "hex": "#506ce0",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 224
  },
  "hsl": {
    "h": 228.333,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.17892,
    "h": 269.7
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#506CE0
secondary
#E2D7AA
accent
#CA3BED
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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