#5072EC#5072EC

#5072EC is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.188 H 268.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5072EC
RGBrgb(80, 114, 236)
HSLhsl(227, 80%, 62%)
HSVhsv(227, 66%, 93%)
CMYKcmyk(66.1%, 51.7%, 0%, 7.5%)
CIE-LABlab(51.60, 26.64, -65.31)
CIE-LCHlch(51.60, 70.54, 292.19°)
OKLaboklab(59.26% -0.0052 -0.1876)
OKLCHoklch(59.26% 0.188 268.4)
XYZxyz(24.4607, 19.7939, 81.8721)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5072EC #ECCA50
analogous
#50C0EC #5072EC #7C50EC
triadic
#5072EC #EC5072 #72EC50
tetradic
#5072EC #EC50C0 #ECCA50 #50EC7C
square
#5072EC #EC50C0 #ECCA50 #50EC7C
split-complementary
#5072EC #EC7C50 #C0EC50
monochromatic
#1335AF #1946E6 #5072EC #879EF2 #BECBF8

Accessibility & contrast

On white

4.23
#5072EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5072EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5072EC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5072EC#FFFFFF#000000##000000
##5072EC1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482F0
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5072ec;
/* rgb */ color: rgb(80, 114, 236);
/* oklch */ color: oklch(59.3% 0.188 268.4);
Tailwind
colors: {
  custom: {
    50: '#919af3',
    500: '#5072ec',
    950: '#000000',
  },
}
SCSS
$custom: #5072ec;
$custom-light: #919af3;
$custom-dark: #000000;
JSON
{
  "hex": "#5072ec",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 226.923,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59264,
    "c": 0.18764,
    "h": 268.4
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#5072EC
secondary
#E9DCAF
accent
#AF09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5072EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5072EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva