#506FBC#506FBC

#506FBC is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.5% C 0.125 H 265.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#506FBC
RGBrgb(80, 111, 188)
HSLhsl(223, 45%, 53%)
HSVhsv(223, 57%, 74%)
CMYKcmyk(57.4%, 41%, 0%, 26.3%)
CIE-LABlab(47.88, 12.12, -43.99)
CIE-LCHlch(47.88, 45.63, 285.41°)
OKLaboklab(55.49% -0.0089 -0.1249)
OKLCHoklch(55.49% 0.125 265.9)
XYZxyz(18.0667, 16.7038, 49.8393)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FBC #BC9D50
analogous
#50A5BC #506FBC #6750BC
triadic
#506FBC #BC506F #6FBC50
tetradic
#506FBC #BC50A5 #BC9D50 #50BC67
square
#506FBC #BC50A5 #BC9D50 #50BC67
split-complementary
#506FBC #BC6750 #A5BC50
monochromatic
#283B69 #395496 #506FBC #7C93CD #A9B8DE

Accessibility & contrast

On white

4.84
#506FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#506FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506FBC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FBC#FFFFFF#000000##FFFFFF
##506FBC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #506fbc;
/* rgb */ color: rgb(80, 111, 188);
/* oklch */ color: oklch(55.5% 0.125 265.9);
Tailwind
colors: {
  custom: {
    50: '#8998d0',
    500: '#506fbc',
    950: '#000000',
  },
}
SCSS
$custom: #506fbc;
$custom-light: #8998d0;
$custom-dark: #000000;
JSON
{
  "hex": "#506fbc",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 222.778,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.12527,
    "h": 265.9
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#506FBC
secondary
#CBBE9C
accent
#AF53D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #506FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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