#5071CD#5071CD

#5071CD is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.0% C 0.147 H 266.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5071CD
RGBrgb(80, 113, 205)
HSLhsl(224, 56%, 56%)
HSVhsv(224, 61%, 80%)
CMYKcmyk(61%, 44.9%, 0%, 19.6%)
CIE-LABlab(49.40, 16.63, -51.33)
CIE-LCHlch(49.40, 53.96, 287.94°)
OKLaboklab(56.97% -0.008 -0.1465)
OKLCHoklch(56.97% 0.147 266.9)
XYZxyz(20.2291, 17.9218, 60.1390)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5071CD #CDAC50
analogous
#50AFCD #5071CD #6D50CD
triadic
#5071CD #CD5071 #71CD50
tetradic
#5071CD #CD50AF #CDAC50 #50CD6D
square
#5071CD #CD50AF #CDAC50 #50CD6D
split-complementary
#5071CD #CD6D50 #AFCD50
monochromatic
#243C7E #3253AE #5071CD #8098DB #AFBEE8

Accessibility & contrast

On white

4.58
#5071CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5071CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5071CD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5071CD#FFFFFF#000000##000000
##5071CD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5071cd;
/* rgb */ color: rgb(80, 113, 205);
/* oklch */ color: oklch(57.0% 0.147 266.9);
Tailwind
colors: {
  custom: {
    50: '#8c99dd',
    500: '#5071cd',
    950: '#000000',
  },
}
SCSS
$custom: #5071cd;
$custom-light: #8c99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5071cd",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 224.16,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56966,
    "c": 0.1467,
    "h": 266.9
  },
  "luminance": 0.17924
}

Semantic roles & 50–950 ramp

primary
#5071CD
secondary
#D6C9A2
accent
#B749DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5071CD

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

Preview Lab → · Contrast checker → · Palette generator →

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