#506FD2#506FD2

#506FD2 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.156 H 268.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#506FD2
RGBrgb(80, 111, 210)
HSLhsl(226, 59%, 57%)
HSVhsv(226, 62%, 82%)
CMYKcmyk(61.9%, 47.1%, 0%, 17.6%)
CIE-LABlab(49.16, 19.58, -54.57)
CIE-LCHlch(49.16, 57.97, 289.73°)
OKLaboklab(56.88% -0.0052 -0.156)
OKLCHoklch(56.88% 0.156 268.1)
XYZxyz(20.6216, 17.7257, 63.2950)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FD2 #D2B350
analogous
#50B0D2 #506FD2 #7250D2
triadic
#506FD2 #D2506F #6FD250
tetradic
#506FD2 #D250B0 #D2B350 #50D272
square
#506FD2 #D250B0 #D2B350 #50D272
split-complementary
#506FD2 #D27250 #B0D250
monochromatic
#223A85 #2F4FB6 #506FD2 #8197DF #B1BFEB

Accessibility & contrast

On white

4.62
#506FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#506FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506FD2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FD2#FFFFFF#000000##FFFFFF
##506FD21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #506fd2;
/* rgb */ color: rgb(80, 111, 210);
/* oklch */ color: oklch(56.9% 0.156 268.1);
Tailwind
colors: {
  custom: {
    50: '#8d97e0',
    500: '#506fd2',
    950: '#000000',
  },
}
SCSS
$custom: #506fd2;
$custom-light: #8d97e0;
$custom-dark: #000000;
JSON
{
  "hex": "#506fd2",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 225.692,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.1561,
    "h": 268.1
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#506FD2
secondary
#D9CDA4
accent
#BD46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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