#5074FA#5074FA

#5074FA is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 60.7% C 0.204 H 268.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5074FA
RGBrgb(80, 116, 250)
HSLhsl(227, 94%, 65%)
HSVhsv(227, 68%, 98%)
CMYKcmyk(68%, 53.6%, 0%, 2%)
CIE-LABlab(53.05, 30.24, -70.76)
CIE-LCHlch(53.05, 76.95, 293.14°)
OKLaboklab(60.66% -0.0059 -0.2036)
OKLCHoklch(60.66% 0.204 268.4)
XYZxyz(26.8030, 21.0957, 93.0833)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5074FA #FAD650
analogous
#50C9FA #5074FA #8150FA
triadic
#5074FA #FA5074 #74FA50
tetradic
#5074FA #FA50C9 #FAD650 #50FA81
square
#5074FA #FA50C9 #FAD650 #50FA81
split-complementary
#5074FA #FA8150 #C9FA50
monochromatic
#062FCA #1545F8 #5074FA #8CA3FC #C7D3FD

Accessibility & contrast

On white

4.02
#5074FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5074FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5074FA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5074FA#FFFFFF#000000##000000
##5074FA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0187FF
Deuteranopia (green-blind)
#0077F7
Tritanopia (blue-blind)
#0094AC
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5074fa;
/* rgb */ color: rgb(80, 116, 250);
/* oklch */ color: oklch(60.7% 0.204 268.4);
Tailwind
colors: {
  custom: {
    50: '#949bfd',
    500: '#5074fa',
    950: '#000000',
  },
}
SCSS
$custom: #5074fa;
$custom-light: #949bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5074fa",
  "rgb": {
    "r": 80,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 227.294,
    "s": 94.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.20365,
    "h": 268.4
  },
  "luminance": 0.21098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5074FA

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

Preview Lab → · Contrast checker → · Palette generator →

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