#4F80D8#4F80D8

#4F80D8 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.8% C 0.144 H 261.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4F80D8
RGBrgb(79, 128, 216)
HSLhsl(219, 64%, 58%)
HSVhsv(219, 63%, 85%)
CMYKcmyk(63.4%, 40.7%, 0%, 15.3%)
CIE-LABlab(54.09, 10.98, -50.10)
CIE-LCHlch(54.09, 51.29, 282.36°)
OKLaboklab(60.76% -0.0221 -0.1427)
OKLCHoklch(60.76% 0.144 261.2)
XYZxyz(23.3339, 22.0563, 67.9800)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80D8 #D8A74F
analogous
#4FC5D8 #4F80D8 #624FD8
triadic
#4F80D8 #D84F80 #80D84F
tetradic
#4F80D8 #D84FC5 #D8A74F #4FD862
square
#4F80D8 #D84FC5 #D8A74F #4FD862
split-complementary
#4F80D8 #D8624F #C5D84F
monochromatic
#1F478D #2A60BF #4F80D8 #81A4E3 #B3C8EE

Accessibility & contrast

On white

3.88
#4F80D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4F80D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80D8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80D8#FFFFFF#000000##000000
##4F80D81.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5888DB
Deuteranopia (green-blind)
#447BD6
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f80d8;
/* rgb */ color: rgb(79, 128, 216);
/* oklch */ color: oklch(60.8% 0.144 261.2);
Tailwind
colors: {
  custom: {
    50: '#8da4e4',
    500: '#4f80d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f80d8;
$custom-light: #8da4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80d8",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 216
  },
  "hsl": {
    "h": 218.54,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.14438,
    "h": 261.2
  },
  "luminance": 0.22058
}

Semantic roles & 50–950 ramp

primary
#4F80D8
secondary
#DDC9A6
accent
#AB41E7
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F80D8

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

Preview Lab → · Contrast checker → · Palette generator →

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