#5071DC#5071DC

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

Color values

HEX#5071DC
RGBrgb(80, 113, 220)
HSLhsl(226, 67%, 59%)
HSVhsv(226, 64%, 86%)
CMYKcmyk(63.6%, 48.6%, 0%, 13.7%)
CIE-LABlab(50.31, 21.76, -58.39)
CIE-LCHlch(50.31, 62.32, 290.44°)
OKLaboklab(57.96% -0.0059 -0.1672)
OKLCHoklch(57.96% 0.167 268)
XYZxyz(22.1272, 18.6810, 70.1360)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5071DC #DCBB50
analogous
#50B7DC #5071DC #7550DC
triadic
#5071DC #DC5071 #71DC50
tetradic
#5071DC #DC50B7 #DCBB50 #50DC75
square
#5071DC #DC50B7 #DCBB50 #50DC75
split-complementary
#5071DC #DC7550 #B7DC50
monochromatic
#1E3A94 #284DC7 #5071DC #839AE6 #B6C4F0

Accessibility & contrast

On white

4.43
#5071DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5071DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5071DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5071DC#FFFFFF#000000##000000
##5071DC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EE0
Deuteranopia (green-blind)
#1772DA
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5071dc;
/* rgb */ color: rgb(80, 113, 220);
/* oklch */ color: oklch(58.0% 0.167 268.0);
Tailwind
colors: {
  custom: {
    50: '#8e99e7',
    500: '#5071dc',
    950: '#000000',
  },
}
SCSS
$custom: #5071dc;
$custom-light: #8e99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5071dc",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 225.857,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.16734,
    "h": 268
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#5071DC
secondary
#DFD2A8
accent
#C13EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #5071DC

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

Preview Lab → · Contrast checker → · Palette generator →

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