#4F80E8#4F80E8

#4F80E8 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.8% C 0.166 H 263.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4F80E8
RGBrgb(79, 128, 232)
HSLhsl(221, 77%, 61%)
HSVhsv(221, 66%, 91%)
CMYKcmyk(65.9%, 44.8%, 0%, 9%)
CIE-LABlab(54.99, 16.49, -57.62)
CIE-LCHlch(54.99, 59.93, 285.97°)
OKLaboklab(61.76% -0.0192 -0.1648)
OKLCHoklch(61.76% 0.166 263.4)
XYZxyz(25.5040, 22.9243, 79.4091)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80E8 #E8B74F
analogous
#4FCDE8 #4F80E8 #6A4FE8
triadic
#4F80E8 #E84F80 #80E84F
tetradic
#4F80E8 #E84FCD #E8B74F #4FE86A
square
#4F80E8 #E84FCD #E8B74F #4FE86A
split-complementary
#4F80E8 #E86A4F #CDE84F
monochromatic
#1644A7 #1D5ADD #4F80E8 #85A7EF #BBCEF6

Accessibility & contrast

On white

3.76
#4F80E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#4F80E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80E8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80E8#FFFFFF#000000##000000
##4F80E81.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEC
Deuteranopia (green-blind)
#317DE6
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f80e8;
/* rgb */ color: rgb(79, 128, 232);
/* oklch */ color: oklch(61.8% 0.166 263.4);
Tailwind
colors: {
  custom: {
    50: '#8fa4f0',
    500: '#4f80e8',
    950: '#000000',
  },
}
SCSS
$custom: #4f80e8;
$custom-light: #8fa4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80e8",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 232
  },
  "hsl": {
    "h": 220.784,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.16588,
    "h": 263.4
  },
  "luminance": 0.22927
}

Semantic roles & 50–950 ramp

primary
#4F80E8
secondary
#E6D4AD
accent
#980CD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4F80E8

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

Preview Lab → · Contrast checker → · Palette generator →

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