#5071EC#5071EC

#5071EC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.189 H 268.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5071EC
RGBrgb(80, 113, 236)
HSLhsl(227, 80%, 62%)
HSVhsv(227, 66%, 93%)
CMYKcmyk(66.1%, 52.1%, 0%, 7.5%)
CIE-LABlab(51.35, 27.26, -65.72)
CIE-LCHlch(51.35, 71.15, 292.53°)
OKLaboklab(59.07% -0.0043 -0.1888)
OKLCHoklch(59.07% 0.189 268.7)
XYZxyz(24.3485, 19.5696, 81.8348)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5071EC #ECCB50
analogous
#50BFEC #5071EC #7D50EC
triadic
#5071EC #EC5071 #71EC50
tetradic
#5071EC #EC50BF #ECCB50 #50EC7D
square
#5071EC #EC50BF #ECCB50 #50EC7D
split-complementary
#5071EC #EC7D50 #BFEC50
monochromatic
#1334AF #1944E6 #5071EC #879EF2 #BECBF8

Accessibility & contrast

On white

4.27
#5071EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5071EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5071EC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5071EC#FFFFFF#000000##000000
##5071EC1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F0
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5071ec;
/* rgb */ color: rgb(80, 113, 236);
/* oklch */ color: oklch(59.1% 0.189 268.7);
Tailwind
colors: {
  custom: {
    50: '#9199f3',
    500: '#5071ec',
    950: '#000000',
  },
}
SCSS
$custom: #5071ec;
$custom-light: #9199f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5071ec",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 227.308,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5907,
    "c": 0.18886,
    "h": 268.7
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#5071EC
secondary
#E9DCAF
accent
#B009DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5071EC

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

Preview Lab → · Contrast checker → · Palette generator →

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