#5077DB#5077DB

#5077DB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.1% C 0.159 H 265.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5077DB
RGBrgb(80, 119, 219)
HSLhsl(223, 66%, 59%)
HSVhsv(223, 63%, 86%)
CMYKcmyk(63.5%, 45.7%, 0%, 14.1%)
CIE-LABlab(51.85, 17.70, -55.36)
CIE-LCHlch(51.85, 58.12, 287.73°)
OKLaboklab(59.11% -0.0118 -0.1582)
OKLCHoklch(59.11% 0.159 265.7)
XYZxyz(22.6869, 20.0115, 69.6711)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5077DB #DBB450
analogous
#50BDDB #5077DB #6E50DB
triadic
#5077DB #DB5077 #77DB50
tetradic
#5077DB #DB50BD #DBB450 #50DB6E
square
#5077DB #DB50BD #DBB450 #50DB6E
split-complementary
#5077DB #DB6E50 #BDDB50
monochromatic
#1E3F92 #2955C5 #5077DB #839EE5 #B6C6F0

Accessibility & contrast

On white

4.20
#5077DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5077DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5077DB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5077DB#FFFFFF#000000##000000
##5077DB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#2D76D9
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5077db;
/* rgb */ color: rgb(80, 119, 219);
/* oklch */ color: oklch(59.1% 0.159 265.7);
Tailwind
colors: {
  custom: {
    50: '#8e9de7',
    500: '#5077db',
    950: '#000000',
  },
}
SCSS
$custom: #5077db;
$custom-light: #8e9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5077db",
  "rgb": {
    "r": 80,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 223.165,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59109,
    "c": 0.15867,
    "h": 265.7
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#5077DB
secondary
#DFCFA8
accent
#B93FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5077DB

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

Preview Lab → · Contrast checker → · Palette generator →

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