#5071FB#5071FB

#5071FB is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.2% C 0.209 H 269.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5071FB
RGBrgb(80, 113, 251)
HSLhsl(228, 96%, 65%)
HSVhsv(228, 68%, 98%)
CMYKcmyk(68.1%, 55%, 0%, 1.6%)
CIE-LABlab(52.37, 32.42, -72.42)
CIE-LCHlch(52.37, 79.34, 294.12°)
OKLaboklab(60.17% -0.0034 -0.2085)
OKLCHoklch(60.17% 0.209 269.1)
XYZxyz(26.6200, 20.4781, 93.7979)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5071FB #FBDA50
analogous
#50C7FB #5071FB #8450FB
triadic
#5071FB #FB5071 #71FB50
tetradic
#5071FB #FB50C7 #FBDA50 #50FB84
square
#5071FB #FB50C7 #FBDA50 #50FB84
split-complementary
#5071FB #FB8450 #C7FB50
monochromatic
#052BCC #1440FA #5071FB #8CA2FC #C8D2FE

Accessibility & contrast

On white

4.12
#5071FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5071FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5071FB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5071FB#FFFFFF#000000##000000
##5071FB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0075F8
Tritanopia (blue-blind)
#0093AB
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5071fb;
/* rgb */ color: rgb(80, 113, 251);
/* oklch */ color: oklch(60.2% 0.209 269.1);
Tailwind
colors: {
  custom: {
    50: '#9499fe',
    500: '#5071fb',
    950: '#000000',
  },
}
SCSS
$custom: #5071fb;
$custom-light: #9499fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5071fb",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 228.421,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60168,
    "c": 0.20852,
    "h": 269.1
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#5071FB
secondary
#F1E5B6
accent
#B900E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D18
muted
#7E7E86

Preview Lab

Preview with #5071FB

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

Preview Lab → · Contrast checker → · Palette generator →

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