#506BBF#506BBF

#506BBF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.8% C 0.135 H 268.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#506BBF
RGBrgb(80, 107, 191)
HSLhsl(225, 46%, 53%)
HSVhsv(225, 58%, 75%)
CMYKcmyk(58.1%, 44%, 0%, 25.1%)
CIE-LABlab(46.95, 15.62, -47.21)
CIE-LCHlch(46.95, 49.73, 288.31°)
OKLaboklab(54.82% -0.0039 -0.1344)
OKLCHoklch(54.82% 0.135 268.3)
XYZxyz(17.9668, 15.9810, 51.4180)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BBF #BFA450
analogous
#50A3BF #506BBF #6C50BF
triadic
#506BBF #BF506B #6BBF50
tetradic
#506BBF #BF50A3 #BFA450 #50BF6C
square
#506BBF #BF50A3 #BFA450 #50BF6C
split-complementary
#506BBF #BF6C50 #A3BF50
monochromatic
#28396D #38509A #506BBF #7D91CF #AAB7E0

Accessibility & contrast

On white

5.00
#506BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#506BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BBF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BBF#FFFFFF#000000##FFFFFF
##506BBF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4575C2
Deuteranopia (green-blind)
#366BBD
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #506bbf;
/* rgb */ color: rgb(80, 107, 191);
/* oklch */ color: oklch(54.8% 0.135 268.3);
Tailwind
colors: {
  custom: {
    50: '#8a95d3',
    500: '#506bbf',
    950: '#000000',
  },
}
SCSS
$custom: #506bbf;
$custom-light: #8a95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#506bbf",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 225.405,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54824,
    "c": 0.1345,
    "h": 268.3
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#506BBF
secondary
#CDC29D
accent
#B652D6
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #506BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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