#506FDB#506FDB

#506FDB is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.5% C 0.168 H 268.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#506FDB
RGBrgb(80, 111, 219)
HSLhsl(227, 66%, 59%)
HSVhsv(227, 63%, 86%)
CMYKcmyk(63.5%, 49.3%, 0%, 14.1%)
CIE-LABlab(49.72, 22.66, -58.78)
CIE-LCHlch(49.72, 62.99, 291.08°)
OKLaboklab(57.49% -0.0041 -0.1684)
OKLCHoklch(57.49% 0.168 268.6)
XYZxyz(21.7745, 18.1869, 69.3670)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FDB #DBBC50
analogous
#50B4DB #506FDB #7650DB
triadic
#506FDB #DB506F #6FDB50
tetradic
#506FDB #DB50B4 #DBBC50 #50DB76
square
#506FDB #DB50B4 #DBBC50 #50DB76
split-complementary
#506FDB #DB7650 #B4DB50
monochromatic
#1E3892 #294CC5 #506FDB #8399E5 #B6C3F0

Accessibility & contrast

On white

4.53
#506FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#506FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506FDB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FDB#FFFFFF#000000##000000
##506FDB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#0F70D9
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #506fdb;
/* rgb */ color: rgb(80, 111, 219);
/* oklch */ color: oklch(57.5% 0.168 268.6);
Tailwind
colors: {
  custom: {
    50: '#8e97e7',
    500: '#506fdb',
    950: '#000000',
  },
}
SCSS
$custom: #506fdb;
$custom-light: #8e97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#506fdb",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 226.619,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57486,
    "c": 0.16844,
    "h": 268.6
  },
  "luminance": 0.18189
}

Semantic roles & 50–950 ramp

primary
#506FDB
secondary
#DFD3A8
accent
#C33FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #506FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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