#506CDF#506CDF

#506CDF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.2% C 0.178 H 269.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#506CDF
RGBrgb(80, 108, 223)
HSLhsl(228, 69%, 59%)
HSVhsv(228, 64%, 87%)
CMYKcmyk(64.1%, 51.6%, 0%, 12.5%)
CIE-LABlab(49.20, 25.90, -61.88)
CIE-LCHlch(49.20, 67.08, 292.71°)
OKLaboklab(57.17% -0.0009 -0.1776)
OKLCHoklch(57.17% 0.178 269.7)
XYZxyz(21.9856, 17.7563, 72.0664)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CDF #DFC350
analogous
#50B3DF #506CDF #7C50DF
triadic
#506CDF #DF506C #6CDF50
tetradic
#506CDF #DF50B3 #DFC350 #50DF7C
square
#506CDF #DF50B3 #DFC350 #50DF7C
split-complementary
#506CDF #DF7C50 #B3DF50
monochromatic
#1C3499 #2546CC #506CDF #8497E8 #B7C3F2

Accessibility & contrast

On white

4.61
#506CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #506CDF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CDF#FFFFFF#000000##FFFFFF
##506CDF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#257CE3
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #506cdf;
/* rgb */ color: rgb(80, 108, 223);
/* oklch */ color: oklch(57.2% 0.178 269.7);
Tailwind
colors: {
  custom: {
    50: '#8f95ea',
    500: '#506cdf',
    950: '#000000',
  },
}
SCSS
$custom: #506cdf;
$custom-light: #8f95ea;
$custom-dark: #000000;
JSON
{
  "hex": "#506cdf",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 228.252,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57173,
    "c": 0.17757,
    "h": 269.7
  },
  "luminance": 0.17758
}

Semantic roles & 50–950 ramp

primary
#506CDF
secondary
#E1D6AA
accent
#C93CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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