#506DBF#506DBF

#506DBF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.2% C 0.132 H 267.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#506DBF
RGBrgb(80, 109, 191)
HSLhsl(224, 46%, 53%)
HSVhsv(224, 58%, 75%)
CMYKcmyk(58.1%, 42.9%, 0%, 25.1%)
CIE-LABlab(47.50, 14.37, -46.34)
CIE-LCHlch(47.50, 48.51, 287.23°)
OKLaboklab(55.25% -0.0061 -0.1318)
OKLCHoklch(55.25% 0.132 267.3)
XYZxyz(18.1777, 16.4029, 51.4883)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DBF #BFA250
analogous
#50A5BF #506DBF #6A50BF
triadic
#506DBF #BF506D #6DBF50
tetradic
#506DBF #BF50A5 #BFA250 #50BF6A
square
#506DBF #BF50A5 #BFA250 #50BF6A
split-complementary
#506DBF #BF6A50 #A5BF50
monochromatic
#283A6D #38529A #506DBF #7D92CF #AAB8E0

Accessibility & contrast

On white

4.91
#506DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#506DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506DBF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506DBF#FFFFFF#000000##FFFFFF
##506DBF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#3A6CBD
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #506dbf;
/* rgb */ color: rgb(80, 109, 191);
/* oklch */ color: oklch(55.2% 0.132 267.3);
Tailwind
colors: {
  custom: {
    50: '#8a96d3',
    500: '#506dbf',
    950: '#000000',
  },
}
SCSS
$custom: #506dbf;
$custom-light: #8a96d3;
$custom-dark: #000000;
JSON
{
  "hex": "#506dbf",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 191
  },
  "hsl": {
    "h": 224.324,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.13199,
    "h": 267.3
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#506DBF
secondary
#CDC19D
accent
#B452D6
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #506DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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