#5056DC#5056DC

#5056DC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.9% C 0.201 H 275.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5056DC
RGBrgb(80, 86, 220)
HSLhsl(237, 67%, 59%)
HSVhsv(237, 64%, 86%)
CMYKcmyk(63.6%, 60.9%, 0%, 13.7%)
CIE-LABlab(43.55, 38.48, -69.35)
CIE-LCHlch(43.55, 79.31, 299.03°)
OKLaboklab(52.89% 0.0182 -0.1998)
OKLCHoklch(52.89% 0.201 275.2)
XYZxyz(19.5501, 13.5267, 69.2769)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5056DC #DCD650
analogous
#509CDC #5056DC #9050DC
triadic
#5056DC #DC5056 #56DC50
tetradic
#5056DC #DC509C #DCD650 #50DC90
square
#5056DC #DC509C #DCD650 #50DC90
split-complementary
#5056DC #DC9050 #9CDC50
monochromatic
#1E2394 #282FC7 #5056DC #8387E6 #B6B9F0

Accessibility & contrast

On white

5.67
#5056DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5056DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5056DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5056DC#FFFFFF#000000##FFFFFF
##5056DC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5056dc;
/* rgb */ color: rgb(80, 86, 220);
/* oklch */ color: oklch(52.9% 0.201 275.2);
Tailwind
colors: {
  custom: {
    50: '#9086e8',
    500: '#5056dc',
    950: '#000000',
  },
}
SCSS
$custom: #5056dc;
$custom-light: #9086e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5056dc",
  "rgb": {
    "r": 80,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 237.429,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.20059,
    "h": 275.2
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#5056DC
secondary
#DFDDA8
accent
#E23EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5056DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5056DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva