#5074EB#5074EB

#5074EB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.6% C 0.184 H 267.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5074EB
RGBrgb(80, 116, 235)
HSLhsl(226, 79%, 62%)
HSVhsv(226, 66%, 92%)
CMYKcmyk(66%, 50.6%, 0%, 7.8%)
CIE-LABlab(52.05, 25.06, -64.02)
CIE-LCHlch(52.05, 68.75, 291.38°)
OKLaboklab(59.58% -0.007 -0.1838)
OKLCHoklch(59.58% 0.184 267.8)
XYZxyz(24.5439, 20.1921, 81.1852)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5074EB #EBC750
analogous
#50C1EB #5074EB #7A50EB
triadic
#5074EB #EB5074 #74EB50
tetradic
#5074EB #EB50C1 #EBC750 #50EB7A
square
#5074EB #EB50C1 #EBC750 #50EB7A
split-complementary
#5074EB #EB7A50 #C1EB50
monochromatic
#1437AD #1A49E4 #5074EB #87A0F1 #BECBF8

Accessibility & contrast

On white

4.17
#5074EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5074EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5074EB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5074EB#FFFFFF#000000##000000
##5074EB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5074eb;
/* rgb */ color: rgb(80, 116, 235);
/* oklch */ color: oklch(59.6% 0.184 267.8);
Tailwind
colors: {
  custom: {
    50: '#919bf2',
    500: '#5074eb',
    950: '#000000',
  },
}
SCSS
$custom: #5074eb;
$custom-light: #919bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5074eb",
  "rgb": {
    "r": 80,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 226.065,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59584,
    "c": 0.18389,
    "h": 267.8
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#5074EB
secondary
#E8DBAF
accent
#AB0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5074EB

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

Preview Lab → · Contrast checker → · Palette generator →

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