#5072E5#5072E5

#5072E5 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.178 H 268.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5072E5
RGBrgb(80, 114, 229)
HSLhsl(226, 74%, 61%)
HSVhsv(226, 65%, 90%)
CMYKcmyk(65.1%, 50.2%, 0%, 10.2%)
CIE-LABlab(51.15, 24.23, -62.12)
CIE-LCHlch(51.15, 66.68, 291.31°)
OKLaboklab(58.77% -0.0058 -0.1782)
OKLCHoklch(58.77% 0.178 268.1)
XYZxyz(23.4636, 19.3951, 76.6207)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5072E5 #E5C350
analogous
#50BCE5 #5072E5 #7950E5
triadic
#5072E5 #E55072 #72E550
tetradic
#5072E5 #E550BC #E5C350 #50E579
square
#5072E5 #E550BC #E5C350 #50E579
split-complementary
#5072E5 #E57950 #BCE550
monochromatic
#1838A2 #204AD8 #5072E5 #859DED #BBC8F5

Accessibility & contrast

On white

4.30
#5072E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5072E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5072E5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5072E5#FFFFFF#000000##000000
##5072E51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F81E9
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5072e5;
/* rgb */ color: rgb(80, 114, 229);
/* oklch */ color: oklch(58.8% 0.178 268.1);
Tailwind
colors: {
  custom: {
    50: '#909aee',
    500: '#5072e5',
    950: '#000000',
  },
}
SCSS
$custom: #5072e5;
$custom-light: #909aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5072e5",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 226.309,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.1783,
    "h": 268.1
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#5072E5
secondary
#E5D8AC
accent
#A90FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5072E5

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

Preview Lab → · Contrast checker → · Palette generator →

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