#5077CC#5077CC

#5077CC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.2% C 0.138 H 264.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5077CC
RGBrgb(80, 119, 204)
HSLhsl(221, 55%, 56%)
HSVhsv(221, 61%, 80%)
CMYKcmyk(60.8%, 41.7%, 0%, 20%)
CIE-LABlab(50.99, 12.58, -48.23)
CIE-LCHlch(50.99, 49.85, 284.61°)
OKLaboklab(58.17% -0.0144 -0.1373)
OKLCHoklch(58.17% 0.138 264)
XYZxyz(20.8004, 19.2570, 59.7359)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5077CC #CCA550
analogous
#50B5CC #5077CC #6750CC
triadic
#5077CC #CC5077 #77CC50
tetradic
#5077CC #CC50B5 #CCA550 #50CC67
square
#5077CC #CC50B5 #CCA550 #50CC67
split-complementary
#5077CC #CC6750 #B5CC50
monochromatic
#24407D #3259AD #5077CC #7F9CDA #AFC1E8

Accessibility & contrast

On white

4.33
#5077CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5077CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5077CC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5077CC#FFFFFF#000000##000000
##5077CC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180CF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5077cc;
/* rgb */ color: rgb(80, 119, 204);
/* oklch */ color: oklch(58.2% 0.138 264.0);
Tailwind
colors: {
  custom: {
    50: '#8c9ddc',
    500: '#5077cc',
    950: '#000000',
  },
}
SCSS
$custom: #5077cc;
$custom-light: #8c9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5077cc",
  "rgb": {
    "r": 80,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 221.129,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58166,
    "c": 0.13805,
    "h": 264
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#5077CC
secondary
#D6C5A2
accent
#AF4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5077CC

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

Preview Lab → · Contrast checker → · Palette generator →

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