#506BB2#506BB2

#506BB2 is a mid, moderate blue. Relative luminance 0.154; OKLCH L 54.0% C 0.116 H 266.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#506BB2
RGBrgb(80, 107, 178)
HSLhsl(223, 39%, 51%)
HSVhsv(223, 55%, 70%)
CMYKcmyk(55.1%, 39.9%, 0%, 30.2%)
CIE-LABlab(46.22, 11.28, -40.82)
CIE-LCHlch(46.22, 42.35, 285.44°)
OKLaboklab(54.03% -0.0064 -0.1157)
OKLCHoklch(54.03% 0.116 266.8)
XYZxyz(16.5992, 15.4340, 44.2152)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BB2 #B29750
analogous
#509CB2 #506BB2 #6650B2
triadic
#506BB2 #B2506B #6BB250
tetradic
#506BB2 #B2509C #B29750 #50B266
square
#506BB2 #B2509C #B29750 #50B266
split-complementary
#506BB2 #B26650 #9CB250
monochromatic
#29385E #3C5189 #506BB2 #7A8FC5 #A5B3D7

Accessibility & contrast

On white

5.14
#506BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#506BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BB2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BB2#FFFFFF#000000##FFFFFF
##506BB21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#197A86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #506bb2;
/* rgb */ color: rgb(80, 107, 178);
/* oklch */ color: oklch(54.0% 0.116 266.8);
Tailwind
colors: {
  custom: {
    50: '#8895c9',
    500: '#506bb2',
    950: '#000000',
  },
}
SCSS
$custom: #506bb2;
$custom-light: #8895c9;
$custom-dark: #000000;
JSON
{
  "hex": "#506bb2",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 223.469,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.1159,
    "h": 266.8
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#506BB2
secondary
#C5B999
accent
#AE59CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #506BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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