#506BCB#506BCB

#506BCB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.6% C 0.151 H 269.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#506BCB
RGBrgb(80, 107, 203)
HSLhsl(227, 54%, 55%)
HSVhsv(227, 61%, 80%)
CMYKcmyk(60.6%, 47.3%, 0%, 20.4%)
CIE-LABlab(47.66, 19.68, -52.97)
CIE-LCHlch(47.66, 56.51, 290.38°)
OKLaboklab(55.6% -0.0021 -0.1514)
OKLCHoklch(55.6% 0.151 269.2)
XYZxyz(19.3418, 16.5310, 58.6599)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BCB #CBB050
analogous
#50A9CB #506BCB #7250CB
triadic
#506BCB #CB506B #6BCB50
tetradic
#506BCB #CB50A9 #CBB050 #50CB72
square
#506BCB #CB50A9 #CBB050 #50CB72
split-complementary
#506BCB #CB7250 #A9CB50
monochromatic
#25387C #334DAB #506BCB #7F93D9 #AEBBE7

Accessibility & contrast

On white

4.88
#506BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#506BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BCB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BCB#FFFFFF#000000##FFFFFF
##506BCB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #506bcb;
/* rgb */ color: rgb(80, 107, 203);
/* oklch */ color: oklch(55.6% 0.151 269.2);
Tailwind
colors: {
  custom: {
    50: '#8c95db',
    500: '#506bcb',
    950: '#000000',
  },
}
SCSS
$custom: #506bcb;
$custom-light: #8c95db;
$custom-dark: #000000;
JSON
{
  "hex": "#506bcb",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 226.829,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.556,
    "c": 0.15138,
    "h": 269.2
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#506BCB
secondary
#D5CAA2
accent
#BD4ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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