#5074EA#5074EA

#5074EA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.183 H 267.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5074EA
RGBrgb(80, 116, 234)
HSLhsl(226, 79%, 62%)
HSVhsv(226, 66%, 92%)
CMYKcmyk(65.8%, 50.4%, 0%, 8.2%)
CIE-LABlab(51.99, 24.72, -63.57)
CIE-LCHlch(51.99, 68.21, 291.25°)
OKLaboklab(59.51% -0.0071 -0.1824)
OKLCHoklch(59.51% 0.183 267.8)
XYZxyz(24.3998, 20.1345, 80.4264)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5074EA #EAC650
analogous
#50C1EA #5074EA #7950EA
triadic
#5074EA #EA5074 #74EA50
tetradic
#5074EA #EA50C1 #EAC650 #50EA79
square
#5074EA #EA50C1 #EAC650 #50EA79
split-complementary
#5074EA #EA7950 #C1EA50
monochromatic
#1538AB #1B4AE2 #5074EA #879FF1 #BDCBF7

Accessibility & contrast

On white

4.18
#5074EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5074EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5074EA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5074EA#FFFFFF#000000##000000
##5074EA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5074ea;
/* rgb */ color: rgb(80, 116, 234);
/* oklch */ color: oklch(59.5% 0.183 267.8);
Tailwind
colors: {
  custom: {
    50: '#919bf1',
    500: '#5074ea',
    950: '#000000',
  },
}
SCSS
$custom: #5074ea;
$custom-light: #919bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5074ea",
  "rgb": {
    "r": 80,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 225.974,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.18256,
    "h": 267.8
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#5074EA
secondary
#E8DAAE
accent
#AA0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5074EA

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

Preview Lab → · Contrast checker → · Palette generator →

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