#506BDB#506BDB

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

Color values

HEX#506BDB
RGBrgb(80, 107, 219)
HSLhsl(228, 66%, 59%)
HSVhsv(228, 63%, 86%)
CMYKcmyk(63.5%, 51.1%, 0%, 14.1%)
CIE-LABlab(48.68, 25.15, -60.46)
CIE-LCHlch(48.68, 65.48, 292.58°)
OKLaboklab(56.69% -0.0003 -0.1734)
OKLCHoklch(56.69% 0.173 269.9)
XYZxyz(21.3478, 17.3334, 69.2248)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BDB #DBC050
analogous
#50B0DB #506BDB #7A50DB
triadic
#506BDB #DB506B #6BDB50
tetradic
#506BDB #DB50B0 #DBC050 #50DB7A
square
#506BDB #DB50B0 #DBC050 #50DB7A
split-complementary
#506BDB #DB7A50 #B0DB50
monochromatic
#1E3592 #2947C5 #506BDB #8396E5 #B6C1F0

Accessibility & contrast

On white

4.70
#506BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#506BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BDB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BDB#FFFFFF#000000##FFFFFF
##506BDB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506bdb;
/* rgb */ color: rgb(80, 107, 219);
/* oklch */ color: oklch(56.7% 0.173 269.9);
Tailwind
colors: {
  custom: {
    50: '#8e95e7',
    500: '#506bdb',
    950: '#000000',
  },
}
SCSS
$custom: #506bdb;
$custom-light: #8e95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#506bdb",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 228.345,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.1734,
    "h": 269.9
  },
  "luminance": 0.17335
}

Semantic roles & 50–950 ramp

primary
#506BDB
secondary
#DFD4A8
accent
#C83FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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