#506BDA#506BDA

#506BDA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.172 H 269.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#506BDA
RGBrgb(80, 107, 218)
HSLhsl(228, 65%, 58%)
HSVhsv(228, 63%, 85%)
CMYKcmyk(63.3%, 50.9%, 0%, 14.5%)
CIE-LABlab(48.61, 24.81, -60.00)
CIE-LCHlch(48.61, 64.93, 292.46°)
OKLaboklab(56.63% -0.0004 -0.172)
OKLCHoklch(56.63% 0.172 269.9)
XYZxyz(21.2166, 17.2809, 68.5335)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BDA #DABF50
analogous
#50B0DA #506BDA #7A50DA
triadic
#506BDA #DA506B #6BDA50
tetradic
#506BDA #DA50B0 #DABF50 #50DA7A
square
#506BDA #DA50B0 #DABF50 #50DA7A
split-complementary
#506BDA #DA7A50 #B0DA50
monochromatic
#1F3591 #2947C3 #506BDA #8396E5 #B5C0EF

Accessibility & contrast

On white

4.71
#506BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#506BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BDA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BDA#FFFFFF#000000##FFFFFF
##506BDA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADE
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506bda;
/* rgb */ color: rgb(80, 107, 218);
/* oklch */ color: oklch(56.6% 0.172 269.9);
Tailwind
colors: {
  custom: {
    50: '#8e95e6',
    500: '#506bda',
    950: '#000000',
  },
}
SCSS
$custom: #506bda;
$custom-light: #8e95e6;
$custom-dark: #000000;
JSON
{
  "hex": "#506bda",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 228.261,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.17204,
    "h": 269.9
  },
  "luminance": 0.17283
}

Semantic roles & 50–950 ramp

primary
#506BDA
secondary
#DED4A8
accent
#C740E8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #506BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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