#5072FA#5072FA

#5072FA is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 60.3% C 0.206 H 268.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5072FA
RGBrgb(80, 114, 250)
HSLhsl(228, 94%, 65%)
HSVhsv(228, 68%, 98%)
CMYKcmyk(68%, 54.4%, 0%, 2%)
CIE-LABlab(52.55, 31.46, -71.57)
CIE-LCHlch(52.55, 78.18, 293.73°)
OKLaboklab(60.28% -0.0042 -0.206)
OKLCHoklch(60.28% 0.206 268.8)
XYZxyz(26.5750, 20.6396, 93.0073)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5072FA #FAD850
analogous
#50C7FA #5072FA #8350FA
triadic
#5072FA #FA5072 #72FA50
tetradic
#5072FA #FA50C7 #FAD850 #50FA83
square
#5072FA #FA50C7 #FAD850 #50FA83
split-complementary
#5072FA #FA8350 #C7FA50
monochromatic
#062DCA #1542F8 #5072FA #8CA2FC #C7D2FD

Accessibility & contrast

On white

4.09
#5072FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5072FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5072FA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5072FA#FFFFFF#000000##000000
##5072FA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0076F7
Tritanopia (blue-blind)
#0093AB
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5072fa;
/* rgb */ color: rgb(80, 114, 250);
/* oklch */ color: oklch(60.3% 0.206 268.8);
Tailwind
colors: {
  custom: {
    50: '#949afd',
    500: '#5072fa',
    950: '#000000',
  },
}
SCSS
$custom: #5072fa;
$custom-light: #949afd;
$custom-dark: #000000;
JSON
{
  "hex": "#5072fa",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 228,
    "s": 94.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.20603,
    "h": 268.8
  },
  "luminance": 0.20642
}

Semantic roles & 50–950 ramp

primary
#5072FA
secondary
#F0E4B6
accent
#B800E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E18
muted
#7E7E86

Preview Lab

Preview with #5072FA

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

Preview Lab → · Contrast checker → · Palette generator →

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