#506EEC#506EEC

#506EEC is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.5% C 0.192 H 269.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#506EEC
RGBrgb(80, 110, 236)
HSLhsl(228, 80%, 62%)
HSVhsv(228, 66%, 93%)
CMYKcmyk(66.1%, 53.4%, 0%, 7.5%)
CIE-LABlab(50.58, 29.12, -66.96)
CIE-LCHlch(50.58, 73.02, 293.50°)
OKLaboklab(58.49% -0.0017 -0.1925)
OKLCHoklch(58.49% 0.192 269.5)
XYZxyz(24.0194, 18.9112, 81.7250)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506EEC #ECCE50
analogous
#50BCEC #506EEC #8050EC
triadic
#506EEC #EC506E #6EEC50
tetradic
#506EEC #EC50BC #ECCE50 #50EC80
square
#506EEC #EC50BC #ECCE50 #50EC80
split-complementary
#506EEC #EC8050 #BCEC50
monochromatic
#1331AF #1940E6 #506EEC #879CF2 #BEC9F8

Accessibility & contrast

On white

4.39
#506EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#506EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506EEC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506EEC#FFFFFF#000000##000000
##506EEC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E80F0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #506eec;
/* rgb */ color: rgb(80, 110, 236);
/* oklch */ color: oklch(58.5% 0.192 269.5);
Tailwind
colors: {
  custom: {
    50: '#9197f3',
    500: '#506eec',
    950: '#000000',
  },
}
SCSS
$custom: #506eec;
$custom-light: #9197f3;
$custom-dark: #000000;
JSON
{
  "hex": "#506eec",
  "rgb": {
    "r": 80,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 228.462,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58494,
    "c": 0.19249,
    "h": 269.5
  },
  "luminance": 0.18913
}

Semantic roles & 50–950 ramp

primary
#506EEC
secondary
#E9DEAF
accent
#B409DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #506EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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