#5074EE#5074EE

#5074EE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.188 H 267.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5074EE
RGBrgb(80, 116, 238)
HSLhsl(226, 82%, 62%)
HSVhsv(226, 66%, 93%)
CMYKcmyk(66.4%, 51.3%, 0%, 6.7%)
CIE-LABlab(52.25, 26.10, -65.38)
CIE-LCHlch(52.25, 70.40, 291.76°)
OKLaboklab(59.8% -0.0067 -0.1878)
OKLCHoklch(59.8% 0.188 267.9)
XYZxyz(24.9810, 20.3669, 83.4871)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5074EE #EECA50
analogous
#50C3EE #5074EE #7B50EE
triadic
#5074EE #EE5074 #74EE50
tetradic
#5074EE #EE50C3 #EECA50 #50EE7B
square
#5074EE #EE50C3 #EECA50 #50EE7B
split-complementary
#5074EE #EE7B50 #C3EE50
monochromatic
#1136B2 #1848E9 #5074EE #88A0F3 #C0CDF9

Accessibility & contrast

On white

4.14
#5074EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5074EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5074EE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5074EE#FFFFFF#000000##000000
##5074EE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F2
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5074ee;
/* rgb */ color: rgb(80, 116, 238);
/* oklch */ color: oklch(59.8% 0.188 267.9);
Tailwind
colors: {
  custom: {
    50: '#919bf4',
    500: '#5074ee',
    950: '#000000',
  },
}
SCSS
$custom: #5074ee;
$custom-light: #919bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5074ee",
  "rgb": {
    "r": 80,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 226.329,
    "s": 82.292,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59795,
    "c": 0.18788,
    "h": 267.9
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#5074EE
secondary
#EADDB0
accent
#AE07DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5074EE

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

Preview Lab → · Contrast checker → · Palette generator →

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