#506AEC#506AEC

#506AEC is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.7% C 0.197 H 270.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#506AEC
RGBrgb(80, 106, 236)
HSLhsl(230, 80%, 62%)
HSVhsv(230, 66%, 93%)
CMYKcmyk(66.1%, 55.1%, 0%, 7.5%)
CIE-LABlab(49.58, 31.59, -68.59)
CIE-LCHlch(49.58, 75.51, 294.73°)
OKLaboklab(57.74% 0.0016 -0.1973)
OKLCHoklch(57.74% 0.197 270.5)
XYZxyz(23.5975, 18.0675, 81.5844)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506AEC #ECD250
analogous
#50B8EC #506AEC #8450EC
triadic
#506AEC #EC506A #6AEC50
tetradic
#506AEC #EC50B8 #ECD250 #50EC84
square
#506AEC #EC50B8 #ECD250 #50EC84
split-complementary
#506AEC #EC8450 #B8EC50
monochromatic
#132DAF #193BE6 #506AEC #8799F2 #BEC8F8

Accessibility & contrast

On white

4.55
#506AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#506AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506AEC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506AEC#FFFFFF#000000##000000
##506AEC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #506aec;
/* rgb */ color: rgb(80, 106, 236);
/* oklch */ color: oklch(57.7% 0.197 270.5);
Tailwind
colors: {
  custom: {
    50: '#9294f3',
    500: '#506aec',
    950: '#000000',
  },
}
SCSS
$custom: #506aec;
$custom-light: #9294f3;
$custom-dark: #000000;
JSON
{
  "hex": "#506aec",
  "rgb": {
    "r": 80,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 230,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.19733,
    "h": 270.5
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#506AEC
secondary
#E9DFAF
accent
#B909DD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #506AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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