#5077DC#5077DC

#5077DC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.2% C 0.160 H 265.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5077DC
RGBrgb(80, 119, 220)
HSLhsl(223, 67%, 59%)
HSVhsv(223, 64%, 86%)
CMYKcmyk(63.6%, 45.9%, 0%, 13.7%)
CIE-LABlab(51.91, 18.04, -55.83)
CIE-LCHlch(51.91, 58.67, 287.91°)
OKLaboklab(59.17% -0.0116 -0.1596)
OKLCHoklch(59.17% 0.16 265.8)
XYZxyz(22.8189, 20.0643, 70.3665)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5077DC #DCB550
analogous
#50BDDC #5077DC #6F50DC
triadic
#5077DC #DC5077 #77DC50
tetradic
#5077DC #DC50BD #DCB550 #50DC6F
square
#5077DC #DC50BD #DCB550 #50DC6F
split-complementary
#5077DC #DC6F50 #BDDC50
monochromatic
#1E3F94 #2854C7 #5077DC #839FE6 #B6C6F0

Accessibility & contrast

On white

4.19
#5077DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5077DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5077DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5077DC#FFFFFF#000000##000000
##5077DC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E0
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5077dc;
/* rgb */ color: rgb(80, 119, 220);
/* oklch */ color: oklch(59.2% 0.160 265.8);
Tailwind
colors: {
  custom: {
    50: '#8e9de7',
    500: '#5077dc',
    950: '#000000',
  },
}
SCSS
$custom: #5077dc;
$custom-light: #8e9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5077dc",
  "rgb": {
    "r": 80,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 223.286,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.16003,
    "h": 265.8
  },
  "luminance": 0.20066
}

Semantic roles & 50–950 ramp

primary
#5077DC
secondary
#DFD0A8
accent
#BA3EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5077DC

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

Preview Lab → · Contrast checker → · Palette generator →

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