#5071F3#5071F3

#5071F3 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.198 H 268.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5071F3
RGBrgb(80, 113, 243)
HSLhsl(228, 87%, 63%)
HSVhsv(228, 67%, 95%)
CMYKcmyk(67.1%, 53.5%, 0%, 4.7%)
CIE-LABlab(51.82, 29.67, -68.87)
CIE-LCHlch(51.82, 74.99, 293.31°)
OKLaboklab(59.58% -0.0038 -0.198)
OKLCHoklch(59.58% 0.198 268.9)
XYZxyz(25.3855, 19.9843, 87.2962)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5071F3 #F3D250
analogous
#50C2F3 #5071F3 #8050F3
triadic
#5071F3 #F35071 #71F350
tetradic
#5071F3 #F350C2 #F3D250 #50F380
square
#5071F3 #F350C2 #F3D250 #50F380
split-complementary
#5071F3 #F38050 #C2F350
monochromatic
#0D30BC #1743EF #5071F3 #899FF7 #C3CEFB

Accessibility & contrast

On white

4.20
#5071F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5071F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5071F3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5071F3#FFFFFF#000000##000000
##5071F31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0883F8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5071f3;
/* rgb */ color: rgb(80, 113, 243);
/* oklch */ color: oklch(59.6% 0.198 268.9);
Tailwind
colors: {
  custom: {
    50: '#9299f8',
    500: '#5071f3',
    950: '#000000',
  },
}
SCSS
$custom: #5071f3;
$custom-light: #9299f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5071f3",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 227.853,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.19809,
    "h": 268.9
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#5071F3
secondary
#ECE1B2
accent
#B602E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5071F3

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

Preview Lab → · Contrast checker → · Palette generator →

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