#5077EB#5077EB

#5077EB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.180 H 266.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5077EB
RGBrgb(80, 119, 235)
HSLhsl(225, 79%, 62%)
HSVhsv(225, 66%, 92%)
CMYKcmyk(66%, 49.4%, 0%, 7.8%)
CIE-LABlab(52.83, 23.21, -62.76)
CIE-LCHlch(52.83, 66.92, 290.30°)
OKLaboklab(60.18% -0.0097 -0.18)
OKLCHoklch(60.18% 0.18 266.9)
XYZxyz(24.8953, 20.8949, 81.3023)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5077EB #EBC450
analogous
#50C5EB #5077EB #7750EB
triadic
#5077EB #EB5077 #77EB50
tetradic
#5077EB #EB50C5 #EBC450 #50EB77
square
#5077EB #EB50C5 #EBC450 #50EB77
split-complementary
#5077EB #EB7750 #C5EB50
monochromatic
#143AAD #1A4DE4 #5077EB #87A2F1 #BECCF8

Accessibility & contrast

On white

4.05
#5077EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5077EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5077EB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5077EB#FFFFFF#000000##000000
##5077EB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586EF
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5077eb;
/* rgb */ color: rgb(80, 119, 235);
/* oklch */ color: oklch(60.2% 0.180 266.9);
Tailwind
colors: {
  custom: {
    50: '#919df2',
    500: '#5077eb',
    950: '#000000',
  },
}
SCSS
$custom: #5077eb;
$custom-light: #919df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5077eb",
  "rgb": {
    "r": 80,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 224.903,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60176,
    "c": 0.18027,
    "h": 266.9
  },
  "luminance": 0.20897
}

Semantic roles & 50–950 ramp

primary
#5077EB
secondary
#E8DAAF
accent
#A70ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5077EB

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

Preview Lab → · Contrast checker → · Palette generator →

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