#5056DF#5056DF

#5056DF is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.1% C 0.204 H 275.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5056DF
RGBrgb(80, 86, 223)
HSLhsl(237, 69%, 59%)
HSVhsv(237, 64%, 87%)
CMYKcmyk(64.1%, 61.4%, 0%, 12.5%)
CIE-LABlab(43.78, 39.48, -70.68)
CIE-LCHlch(43.78, 80.95, 299.19°)
OKLaboklab(53.13% 0.0181 -0.2037)
OKLCHoklch(53.13% 0.204 275.1)
XYZxyz(19.9510, 13.6871, 71.3882)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5056DF #DFD950
analogous
#509DDF #5056DF #9250DF
triadic
#5056DF #DF5056 #56DF50
tetradic
#5056DF #DF509D #DFD950 #50DF92
square
#5056DF #DF509D #DFD950 #50DF92
split-complementary
#5056DF #DF9250 #9DDF50
monochromatic
#1C2199 #252CCC #5056DF #8488E8 #B7BAF2

Accessibility & contrast

On white

5.62
#5056DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5056DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5056DF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5056DF#FFFFFF#000000##FFFFFF
##5056DF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5056df;
/* rgb */ color: rgb(80, 86, 223);
/* oklch */ color: oklch(53.1% 0.204 275.1);
Tailwind
colors: {
  custom: {
    50: '#9086ea',
    500: '#5056df',
    950: '#000000',
  },
}
SCSS
$custom: #5056df;
$custom-light: #9086ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5056df",
  "rgb": {
    "r": 80,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 237.483,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.20446,
    "h": 275.1
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#5056DF
secondary
#E1DFAA
accent
#E53CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5056DF

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

Preview Lab → · Contrast checker → · Palette generator →

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