#5071EB#5071EB

#5071EB is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.188 H 268.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5071EB
RGBrgb(80, 113, 235)
HSLhsl(227, 79%, 62%)
HSVhsv(227, 66%, 92%)
CMYKcmyk(66%, 51.9%, 0%, 7.8%)
CIE-LABlab(51.28, 26.92, -65.27)
CIE-LCHlch(51.28, 70.61, 292.41°)
OKLaboklab(59% -0.0044 -0.1875)
OKLCHoklch(59% 0.188 268.7)
XYZxyz(24.2037, 19.5116, 81.0717)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5071EB #EBCA50
analogous
#50BEEB #5071EB #7D50EB
triadic
#5071EB #EB5071 #71EB50
tetradic
#5071EB #EB50BE #EBCA50 #50EB7D
square
#5071EB #EB50BE #EBCA50 #50EB7D
split-complementary
#5071EB #EB7D50 #BEEB50
monochromatic
#1434AD #1A45E4 #5071EB #879EF1 #BECAF8

Accessibility & contrast

On white

4.28
#5071EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5071EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5071EB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5071EB#FFFFFF#000000##000000
##5071EB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282EF
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5071eb;
/* rgb */ color: rgb(80, 113, 235);
/* oklch */ color: oklch(59.0% 0.188 268.7);
Tailwind
colors: {
  custom: {
    50: '#9199f2',
    500: '#5071eb',
    950: '#000000',
  },
}
SCSS
$custom: #5071eb;
$custom-light: #9199f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5071eb",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 227.226,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58999,
    "c": 0.18752,
    "h": 268.7
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#5071EB
secondary
#E8DCAF
accent
#AF0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5071EB

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

Preview Lab → · Contrast checker → · Palette generator →

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