#5071F1#5071F1

#5071F1 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.195 H 268.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5071F1
RGBrgb(80, 113, 241)
HSLhsl(228, 85%, 63%)
HSVhsv(228, 67%, 95%)
CMYKcmyk(66.8%, 53.1%, 0%, 5.5%)
CIE-LABlab(51.68, 28.98, -67.97)
CIE-LCHlch(51.68, 73.90, 293.09°)
OKLaboklab(59.43% -0.004 -0.1954)
OKLCHoklch(59.43% 0.195 268.8)
XYZxyz(25.0851, 19.8642, 85.7142)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5071F1 #F1D050
analogous
#50C1F1 #5071F1 #7F50F1
triadic
#5071F1 #F15071 #71F150
tetradic
#5071F1 #F150C1 #F1D050 #50F17F
square
#5071F1 #F150C1 #F1D050 #50F17F
split-complementary
#5071F1 #F17F50 #C1F150
monochromatic
#0F31B8 #1743EC #5071F1 #899FF6 #C1CDFA

Accessibility & contrast

On white

4.22
#5071F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5071F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5071F1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5071F1#FFFFFF#000000##000000
##5071F11.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1283F5
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5071f1;
/* rgb */ color: rgb(80, 113, 241);
/* oklch */ color: oklch(59.4% 0.195 268.8);
Tailwind
colors: {
  custom: {
    50: '#9299f6',
    500: '#5071f1',
    950: '#000000',
  },
}
SCSS
$custom: #5071f1;
$custom-light: #9299f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5071f1",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 227.702,
    "s": 85.185,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59431,
    "c": 0.19546,
    "h": 268.8
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#5071F1
secondary
#EBDFB1
accent
#B404E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5071F1

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

Preview Lab → · Contrast checker → · Palette generator →

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