#5070FB#5070FB

#5070FB is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.0% C 0.210 H 269.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5070FB
RGBrgb(80, 112, 251)
HSLhsl(229, 96%, 65%)
HSVhsv(229, 68%, 98%)
CMYKcmyk(68.1%, 55.4%, 0%, 1.6%)
CIE-LABlab(52.13, 33.03, -72.82)
CIE-LCHlch(52.13, 79.96, 294.40°)
OKLaboklab(59.98% -0.0026 -0.2097)
OKLCHoklch(59.98% 0.21 269.3)
XYZxyz(26.5091, 20.2562, 93.7609)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5070FB #FBDB50
analogous
#50C5FB #5070FB #8650FB
triadic
#5070FB #FB5070 #70FB50
tetradic
#5070FB #FB50C5 #FBDB50 #50FB86
square
#5070FB #FB50C5 #FBDB50 #50FB86
split-complementary
#5070FB #FB8650 #C5FB50
monochromatic
#052ACC #143FFA #5070FB #8CA1FC #C8D2FE

Accessibility & contrast

On white

4.16
#5070FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5070FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5070FB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5070FB#FFFFFF#000000##000000
##5070FB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#0075F8
Tritanopia (blue-blind)
#0092AB
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5070fb;
/* rgb */ color: rgb(80, 112, 251);
/* oklch */ color: oklch(60.0% 0.210 269.3);
Tailwind
colors: {
  custom: {
    50: '#9498fe',
    500: '#5070fb',
    950: '#000000',
  },
}
SCSS
$custom: #5070fb;
$custom-light: #9498fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5070fb",
  "rgb": {
    "r": 80,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 228.772,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.20971,
    "h": 269.3
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#5070FB
secondary
#F1E6B6
accent
#BB00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5070FB

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

Preview Lab → · Contrast checker → · Palette generator →

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