#5071DD#5071DD

#5071DD is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.0% C 0.169 H 268.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5071DD
RGBrgb(80, 113, 221)
HSLhsl(226, 67%, 59%)
HSVhsv(226, 64%, 87%)
CMYKcmyk(63.8%, 48.9%, 0%, 13.3%)
CIE-LABlab(50.37, 22.10, -58.86)
CIE-LCHlch(50.37, 62.87, 290.58°)
OKLaboklab(58.02% -0.0058 -0.1686)
OKLCHoklch(58.02% 0.169 268)
XYZxyz(22.2601, 18.7342, 70.8356)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5071DD #DDBC50
analogous
#50B8DD #5071DD #7650DD
triadic
#5071DD #DD5071 #71DD50
tetradic
#5071DD #DD50B8 #DDBC50 #50DD76
square
#5071DD #DD50B8 #DDBC50 #50DD76
split-complementary
#5071DD #DD7650 #B8DD50
monochromatic
#1D3996 #274DC9 #5071DD #839BE7 #B6C4F1

Accessibility & contrast

On white

4.42
#5071DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5071DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5071DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5071DD#FFFFFF#000000##000000
##5071DD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#1472DB
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5071dd;
/* rgb */ color: rgb(80, 113, 221);
/* oklch */ color: oklch(58.0% 0.169 268.0);
Tailwind
colors: {
  custom: {
    50: '#8f99e8',
    500: '#5071dd',
    950: '#000000',
  },
}
SCSS
$custom: #5071dd;
$custom-light: #8f99e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5071dd",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 225.957,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.1687,
    "h": 268
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#5071DD
secondary
#E0D3A9
accent
#C23DEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5071DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5071DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva