#4F80CC#4F80CC

#4F80CC is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.1% C 0.128 H 258.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4F80CC
RGBrgb(79, 128, 204)
HSLhsl(216, 55%, 55%)
HSVhsv(216, 61%, 80%)
CMYKcmyk(61.3%, 37.3%, 0%, 20%)
CIE-LABlab(53.45, 6.90, -44.33)
CIE-LCHlch(53.45, 44.86, 278.85°)
OKLaboklab(60.06% -0.0247 -0.1258)
OKLCHoklch(60.06% 0.128 258.9)
XYZxyz(21.8389, 21.4583, 60.1060)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80CC #CC9B4F
analogous
#4FBECC #4F80CC #5C4FCC
triadic
#4F80CC #CC4F80 #80CC4F
tetradic
#4F80CC #CC4FBE #CC9B4F #4FCC5C
square
#4F80CC #CC4FBE #CC9B4F #4FCC5C
split-complementary
#4F80CC #CC5C4F #BECC4F
monochromatic
#24477D #3262AC #4F80CC #7EA2DA #AEC4E7

Accessibility & contrast

On white

3.97
#4F80CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4F80CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80CC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80CC#FFFFFF#000000##000000
##4F80CC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f80cc;
/* rgb */ color: rgb(79, 128, 204);
/* oklch */ color: oklch(60.1% 0.128 258.9);
Tailwind
colors: {
  custom: {
    50: '#8ba4dc',
    500: '#4f80cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f80cc;
$custom-light: #8ba4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80cc",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 204
  },
  "hsl": {
    "h": 216.48,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.12819,
    "h": 258.9
  },
  "luminance": 0.2146
}

Semantic roles & 50–950 ramp

primary
#4F80CC
secondary
#D5C1A1
accent
#A449DE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F80CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4F80CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva