#5071DB#5071DB

#5071DB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.166 H 267.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5071DB
RGBrgb(80, 113, 219)
HSLhsl(226, 66%, 59%)
HSVhsv(226, 63%, 86%)
CMYKcmyk(63.5%, 48.4%, 0%, 14.1%)
CIE-LABlab(50.25, 21.42, -57.93)
CIE-LCHlch(50.25, 61.76, 290.29°)
OKLaboklab(57.89% -0.006 -0.1659)
OKLCHoklch(57.89% 0.166 267.9)
XYZxyz(21.9952, 18.6282, 69.4406)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5071DB #DBBA50
analogous
#50B7DB #5071DB #7450DB
triadic
#5071DB #DB5071 #71DB50
tetradic
#5071DB #DB50B7 #DBBA50 #50DB74
square
#5071DB #DB50B7 #DBBA50 #50DB74
split-complementary
#5071DB #DB7450 #B7DB50
monochromatic
#1E3A92 #294EC5 #5071DB #839AE5 #B6C3F0

Accessibility & contrast

On white

4.44
#5071DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5071DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5071DB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5071DB#FFFFFF#000000##000000
##5071DB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#1A72D9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5071db;
/* rgb */ color: rgb(80, 113, 219);
/* oklch */ color: oklch(57.9% 0.166 267.9);
Tailwind
colors: {
  custom: {
    50: '#8e99e7',
    500: '#5071db',
    950: '#000000',
  },
}
SCSS
$custom: #5071db;
$custom-light: #8e99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5071db",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 225.755,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.16598,
    "h": 267.9
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#5071DB
secondary
#DFD2A8
accent
#C03FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #5071DB

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

Preview Lab → · Contrast checker → · Palette generator →

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