#506FDF#506FDF

#506FDF is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.8% C 0.174 H 268.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#506FDF
RGBrgb(80, 111, 223)
HSLhsl(227, 69%, 59%)
HSVhsv(227, 64%, 87%)
CMYKcmyk(64.1%, 50.2%, 0%, 12.5%)
CIE-LABlab(49.98, 24.03, -60.63)
CIE-LCHlch(49.98, 65.22, 291.62°)
OKLaboklab(57.76% -0.0037 -0.1738)
OKLCHoklch(57.76% 0.174 268.8)
XYZxyz(22.3074, 18.4000, 72.1737)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FDF #DFC050
analogous
#50B7DF #506FDF #7950DF
triadic
#506FDF #DF506F #6FDF50
tetradic
#506FDF #DF50B7 #DFC050 #50DF79
square
#506FDF #DF50B7 #DFC050 #50DF79
split-complementary
#506FDF #DF7950 #B7DF50
monochromatic
#1C3799 #254ACC #506FDF #849AE8 #B7C4F2

Accessibility & contrast

On white

4.49
#506FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#506FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506FDF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FDF#FFFFFF#000000##000000
##506FDF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #506fdf;
/* rgb */ color: rgb(80, 111, 223);
/* oklch */ color: oklch(57.8% 0.174 268.8);
Tailwind
colors: {
  custom: {
    50: '#8f97ea',
    500: '#506fdf',
    950: '#000000',
  },
}
SCSS
$custom: #506fdf;
$custom-light: #8f97ea;
$custom-dark: #000000;
JSON
{
  "hex": "#506fdf",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 226.993,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.17388,
    "h": 268.8
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#506FDF
secondary
#E1D5AA
accent
#C63CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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