#506FDA#506FDA

#506FDA is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.4% C 0.167 H 268.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#506FDA
RGBrgb(80, 111, 218)
HSLhsl(227, 65%, 58%)
HSVhsv(227, 63%, 85%)
CMYKcmyk(63.3%, 49.1%, 0%, 14.5%)
CIE-LABlab(49.66, 22.32, -58.31)
CIE-LCHlch(49.66, 62.44, 290.94°)
OKLaboklab(57.42% -0.0042 -0.167)
OKLCHoklch(57.42% 0.167 268.6)
XYZxyz(21.6433, 18.1344, 68.6758)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FDA #DABB50
analogous
#50B4DA #506FDA #7650DA
triadic
#506FDA #DA506F #6FDA50
tetradic
#506FDA #DA50B4 #DABB50 #50DA76
square
#506FDA #DA50B4 #DABB50 #50DA76
split-complementary
#506FDA #DA7650 #B4DA50
monochromatic
#1F3891 #294CC3 #506FDA #8399E5 #B5C2EF

Accessibility & contrast

On white

4.54
#506FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#506FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506FDA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FDA#FFFFFF#000000##000000
##506FDA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDE
Deuteranopia (green-blind)
#1370D8
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #506fda;
/* rgb */ color: rgb(80, 111, 218);
/* oklch */ color: oklch(57.4% 0.167 268.6);
Tailwind
colors: {
  custom: {
    50: '#8e97e6',
    500: '#506fda',
    950: '#000000',
  },
}
SCSS
$custom: #506fda;
$custom-light: #8e97e6;
$custom-dark: #000000;
JSON
{
  "hex": "#506fda",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 226.522,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.16708,
    "h": 268.6
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#506FDA
secondary
#DED2A8
accent
#C240E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #506FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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