#506BDF#506BDF

#506BDF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.0% C 0.179 H 270.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#506BDF
RGBrgb(80, 107, 223)
HSLhsl(229, 69%, 59%)
HSVhsv(229, 64%, 87%)
CMYKcmyk(64.1%, 52%, 0%, 12.5%)
CIE-LABlab(48.94, 26.52, -62.30)
CIE-LCHlch(48.94, 67.71, 293.06°)
OKLaboklab(56.98% 0 -0.1788)
OKLCHoklch(56.98% 0.179 270)
XYZxyz(21.8807, 17.5466, 72.0315)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BDF #DFC450
analogous
#50B3DF #506BDF #7D50DF
triadic
#506BDF #DF506B #6BDF50
tetradic
#506BDF #DF50B3 #DFC450 #50DF7D
square
#506BDF #DF50B3 #DFC450 #50DF7D
split-complementary
#506BDF #DF7D50 #B3DF50
monochromatic
#1C3399 #2545CC #506BDF #8497E8 #B7C3F2

Accessibility & contrast

On white

4.66
#506BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#506BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506BDF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BDF#FFFFFF#000000##FFFFFF
##506BDF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#227BE3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506bdf;
/* rgb */ color: rgb(80, 107, 223);
/* oklch */ color: oklch(57.0% 0.179 270.0);
Tailwind
colors: {
  custom: {
    50: '#8f95ea',
    500: '#506bdf',
    950: '#000000',
  },
}
SCSS
$custom: #506bdf;
$custom-light: #8f95ea;
$custom-dark: #000000;
JSON
{
  "hex": "#506bdf",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 228.671,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56979,
    "c": 0.17881,
    "h": 270
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#506BDF
secondary
#E1D7AA
accent
#CB3CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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